Returns the world's height-map value for the given X and Z block coordinates.
| Name | Type | Description |
|---|---|---|
x, z | number | World X and Z coordinates. |
An integer height value.
local x, z = 100, 100
local y = world.highest(x, z)
log("Surface at 100,100 is at Y=" .. y)