Difference between revisions of "Sprite:getParent"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the `Sprite` object that contains this `Sprite` object.<br /> <br /> <source lang="lua"...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(Sprite), = Sprite:getParent()
+
(Sprite) = Sprite:getParent()
 
</source>
 
</source>
 
'''Returns''' (Sprite) The parent sprite.<br/>
 
'''Returns''' (Sprite) The parent sprite.<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the `Sprite` object that contains this `Sprite` object.

(Sprite) = Sprite:getParent()

Returns (Sprite) The parent sprite.