Difference between revisions of "Screen:getPosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2017.8<br/> | + | '''<translate>Available since</translate>:''' Gideros 2017.8<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Return the position of the screen on the display, for windowed systems</translate> | <translate>Return the position of the screen on the display, for windowed systems</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(number), (number) = Screen:getPosition() | (number), (number) = Screen:getPosition() | ||
</source> | </source> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>The Screen's x coordinate</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>The Screen's x coordinate</translate><br/> |
− | '''Returns''' (number) <translate>The Screen's y coordinate</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>The Screen's y coordinate</translate><br/> |
Revision as of 07:27, 24 August 2018
Available since: Gideros 2017.8
Description
Return the position of the screen on the display, for windowed systems
(number), (number) = Screen:getPosition()
Return values
Returns (number) The Screen's x coordinate
Returns (number) The Screen's y coordinate