Screen:getPosition

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2017.8
Class: Screen

Description

Returns the position of the screen on the display, for windowed systems. <syntaxhighlight lang="lua"> (number), (number) = Screen:getPosition() </source>

Return values

Returns (number) the screen x coordinate
Returns (number) the screen y coordinate