Difference between revisions of "Screen:getPosition"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")  | 
				m (Text replacement - "</source>" to "</syntaxhighlight>")  | 
				||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua">  | <syntaxhighlight lang="lua">  | ||
(number), (number) = Screen:getPosition()  | (number), (number) = Screen:getPosition()  | ||
| − | </  | + | </syntaxhighlight>  | 
=== Return values ===  | === Return values ===  | ||
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2017.8
Class: Screen
Description
Returns the position of the screen on the display, for windowed systems.
(number), (number) = Screen:getPosition()
Return values
Returns (number) the screen x coordinate
Returns (number) the screen y coordinate