WorldAPI.getHeight

Returns the highest point at the given position according to the provided heightmap
Defaults to MOTION_BLOCKING if no heightmap is provided
overload 1:
world.getHeight(pos, heightmap)
Method Property Fluent Description Representation
pos accepts a Vector2
heightmap accepts a String
Return Value an Integer
overload 2:
world.getHeight(x, z, heightmap)
Method Property Fluent Description Representation
x accepts a Number
z accepts a Number
heightmap accepts a String
Return Value an Integer
a a