IsActive
From MaratisWiki
isActive(object)
Returns boolean value of the object's active state.
-
object
: object to operate on
active = isActive(object)
Example:
if isActive(object) then print("object is active") end