Difference between revisions of "Screen:getPosition"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Return the position of the screen on the display, for windowed systems <source lang="lua"> (number) (n...") |
|||
Line 4: | Line 4: | ||
Return the position of the screen on the display, for windowed systems | Return the position of the screen on the display, for windowed systems | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) | + | (number), (number) = Screen:getPosition() |
</source> | </source> | ||
'''Returns''' (number) The Screen's x coordinate<br/> | '''Returns''' (number) The Screen's x coordinate<br/> | ||
'''Returns''' (number) The Screen's y coordinate<br/> | '''Returns''' (number) The Screen's y coordinate<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2017.8
Description
Return the position of the screen on the display, for windowed systems
(number), (number) = Screen:getPosition()
Returns (number) The Screen's x coordinate
Returns (number) The Screen's y coordinate