Pixel:getTexturePosition: Difference between revisions

From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight"
m Text replacement - "</source>" to "</syntaxhighlight>"
Line 7: Line 7:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
(number), (number) = Pixel:getTexturePosition()
(number), (number) = Pixel:getTexturePosition()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Revision as of 13:32, 13 July 2023

Available since: in development
Class: Pixel

Description

Returns the texture position for the Pixel.

(number), (number) = Pixel:getTexturePosition()

Return values

Returns (number) the x-coordinate of the texture
Returns (number) the y-coordinate of the texture