Difference between revisions of "Sprite:getParent"

From GiderosMobile
Line 4: Line 4:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Returns the `Sprite` object that contains this `Sprite` object.<br />
+
Returns the [[Special:MyLanguage/Sprite|Sprite]] object that contains this [[Special:MyLanguage/Sprite|Sprite]] object.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 09:36, 24 August 2018

Available since: Gideros 2011.6
Class: Sprite

Description


Returns the Sprite object that contains this Sprite object.

(Sprite) = Sprite:getParent()

Return values

Returns (Sprite) The parent sprite.