IsActive

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
Returns the object's active state (boolean) :
+
{{lua-function|isActive|object}}
 +
 
 +
Returns boolean value of the object's active state.
 +
 
 +
{{lua-function-param|object|object to operate on}}
  
 
  active = isActive(object)
 
  active = isActive(object)
  
Example :
+
'''Example:'''
  
 
  if isActive(object) then
 
  if isActive(object) then

Latest revision as of 01:15, 9 February 2014

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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox