IsActive
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{lua-function|isActive|object}} | ||
+ | |||
Returns the object's active state (boolean) : | Returns the object's active state (boolean) : | ||
active = isActive(object) | active = isActive(object) | ||
− | Example : | + | '''Example:''' |
if isActive(object) then | if isActive(object) then |
Revision as of 17:28, 8 February 2014
isActive(object)
Returns the object's active state (boolean) :
active = isActive(object)
Example:
if isActive(object) then print("object is active") end