Pixel:getTexturePosition: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' in development<br/> | |||
''' | '''Class:''' [[Pixel]]<br/> | ||
''' | |||
=== | === Description === | ||
Returns the texture position for the Pixel. | |||
<source lang="lua"> | <source lang="lua"> | ||
(number), (number) = Pixel:getTexturePosition() | (number), (number) = Pixel:getTexturePosition() | ||
</source> | </source> | ||
=== | |||
''' | === Return values === | ||
''' | '''Returns''' (number) the x-coordinate of the texture<br/> | ||
'''Returns''' (number) the y-coordinate of the texture<br/> | |||
{{Pixel}} | {{Pixel}} | ||
Revision as of 08:05, 27 March 2021
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