Sprite:getZ: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== Description ===
=== Description ===
Returns the z coordinate of the sprite.
Returns the z coordinate of the sprite.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = Sprite:getZ()
(number) = Sprite:getZ()
</source>
</source>

Revision as of 13:31, 13 July 2023

Available since: Gideros 2015.04.04
Class: Sprite

Description

Returns the z coordinate of the sprite. <syntaxhighlight lang="lua"> (number) = Sprite:getZ() </source>

Return values

Returns (number) sprite z position