Screen:getPosition: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2017.8<br/> | |||
''' | '''Class:''' [[Screen]]<br/> | ||
''' | |||
=== | === Description === | ||
Returns the position of the screen on the display, for windowed systems. | |||
< | <syntaxhighlight lang="lua"> | ||
(number), (number) = Screen:getPosition() | (number), (number) = Screen:getPosition() | ||
</ | </syntaxhighlight> | ||
=== | |||
''' | === Return values === | ||
''' | '''Returns''' (number) the screen x coordinate<br/> | ||
'''Returns''' (number) the screen y coordinate<br/> | |||
{{Screen}} | |||
Latest revision as of 13: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