Difference between revisions of "Screen:getPosition"

From GiderosMobile
Line 11: Line 11:
 
'''<translate>Returns</translate>''' (number) <translate>The Screen's x coordinate</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The Screen's x coordinate</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The Screen's y coordinate</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The Screen's y coordinate</translate><br/>
 +
 +
{{Screen}}

Revision as of 22:41, 3 December 2019


Available since: Gideros 2017.8
Class: Screen

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