Difference between revisions of "Screen:getPosition"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 
=== Description ===
 
=== Description ===
Return the position of the screen on the display, for windowed systems
+
<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 ===
 
=== Return values ===
'''Returns''' (number) The Screen's x coordinate<br/>
+
'''Returns''' (number) <translate>The Screen's x coordinate</translate><br/>
'''Returns''' (number) The Screen's y coordinate<br/>
+
'''Returns''' (number) <translate>The Screen's y coordinate</translate><br/>

Revision as of 13:38, 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