WorldMapData

Group
player
Methods
1
Fields
None

Getting one

client:getWorldMap():getWorldMapData()

Methods

MethodReturnsDescription
surfaceContainsPosition(number, number)booleanWhether the surface holds world tile x, y: the client's own test on the client thread, elsewhere the area's region bounds only. false…

Returned by

MethodReturnsDescription
WorldMap.getWorldMapDataWorldMapData?The surface of the map's current area, or nil before the world map has an area this session: the client loads one when the map is first o…

Method details

surfaceContainsPosition

surfaceContainsPosition: (WorldMapData, number, number) -> boolean

Whether the surface holds world tile x, y: the client's own test on the client thread, elsewhere the area's region bounds only. false once the map has no area.