Difference between revisions of "Sprite:getParent"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
'''Class:''' [[Sprite]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Returns the [[Special:MyLanguage/Sprite|Sprite]] object that contains this [[Special:MyLanguage/Sprite|Sprite]] object.<br />
+
Returns the parent '''Sprite''' object that contains this Sprite object.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
(Sprite) = Sprite:getParent()
 
(Sprite) = Sprite:getParent()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (Sprite) <translate>The parent sprite.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (Sprite) the parent sprite<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 14:33, 13 July 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