World.getZoneId

Returns the zone id from a position.

Kind: Function

Environments: Game

Game

world:getZoneId( position )

Open the full Game reference

Parameters:

Name Type Description
world World The world.
position Vec3 The position.

Returns:

Type Description
table The Zone id. (nil if position is invalid)