GetParent

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
Returns the object's parent if any :
+
{{lua-function|getParent|object}}
 +
 
 +
Returns the object's parent if any.
 +
 
 +
{{lua-function-param|object|object to operate on}}
  
 
  parent = getParent(object)
 
  parent = getParent(object)
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Object]]

Latest revision as of 00:14, 9 February 2014

getParent(object)

Returns the object's parent if any.

  • object : object to operate on
parent = getParent(object)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox