Difference between revisions of "Pixel:getTexturePosition"
From GiderosMobile
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 09: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