Latite Scripting Documentation (Exports)
Exports > world/world > World
Interface
Source: world/world.d.ts:1
exists():
boolean
Returns true if in a world, returns false if not. You will only be able to use the World methods if you are in a world.
Source: world/world.d.ts:5
boolean
getEntities():
Entity[]
Gets the clientside entity list (only if you have operator otherwise it will only return you)
Source: world/world.d.ts:24
Entity[]
getEntityCount():
number
Gets the clientside number of entities (including you)
Source: world/world.d.ts:29
number
getName():
string
The saved world name.
Source: world/world.d.ts:10
string
getPlayers():
string[]
Gets the name of the players connected to the world.
Source: world/world.d.ts:14
string[]
isLocalWorld():
boolean
Returns true if it's your own local world. Returns false if not.
Source: world/world.d.ts:19
boolean