- Documentation
- Client functions
- isElementLocal
Function
isElementLocal
Checks whether an element exists only for this player (created by a client script, unknown to the server).
Syntax
bool isElementLocal(element theElement)Arguments
theElementelement- The element.
Returns
true for a local element.
Example
local zone = createColSphere(0, 0, 3, 5)
outputChatBox(tostring(isElementLocal(zone)))