Difference between revisions of "Sprite:getParent"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the parent '''Sprite''' object that contains this Sprite object.
Returns the [[Special:MyLanguage/Sprite|Sprite]] object that contains this [[Special:MyLanguage/Sprite|Sprite]] object.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(Sprite) = Sprite:getParent()
 
(Sprite) = Sprite:getParent()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (Sprite) <translate>The parent sprite.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (Sprite) the parent sprite<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 18:05, 7 February 2023

Available since: Gideros 2011.6
Class: Sprite

Description

Returns the parent Sprite object that contains this Sprite object.

(Sprite) = Sprite:getParent()

Return values

Returns (Sprite) the parent sprite