Difference between revisions of "Screen:setPosition"
From GiderosMobile
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 === |
− | + | Attempts to position the screen or window, if allowed by the platform. | |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | Screen:setPosition(x,y) | |
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''x''': (number) | + | === Parameters === |
− | '''y''': (number) | + | '''x''': (number) the new x coordinate<br/> |
+ | '''y''': (number) the new y coordinate<br/> | ||
+ | |||
+ | {{Screen}} |
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2017.8
Class: Screen
Description
Attempts to position the screen or window, if allowed by the platform.
Screen:setPosition(x,y)
Parameters
x: (number) the new x coordinate
y: (number) the new y coordinate