Difference between revisions of "Screen:getPosition"

From GiderosMobile
Line 6: Line 6:
 
(number), (number) = Screen:getPosition()
 
(number), (number) = Screen:getPosition()
 
</source>
 
</source>
 +
=== Return values ===
 
'''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:44, 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()

Return values

Returns (number) The Screen's x coordinate
Returns (number) The Screen's y coordinate