IsActive
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 10: | Line 10: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Object]] |
Revision as of 18:25, 4 February 2014
Returns the object's active state (boolean) :
active = isActive(object)
Example :
if isActive(object) then print("object is active") end