IsActive

(Difference between revisions)
Jump to: navigation, search
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox