Difference between revisions of "Screen:setPosition"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Attempts to position this screen or window, if allowed by the platform. <source lang="lua"> = Screen:s...")
 
Line 4: Line 4:
 
Attempts to position this screen or window, if allowed by the platform.
 
Attempts to position this screen or window, if allowed by the platform.
 
<source lang="lua">
 
<source lang="lua">
= Screen:setPosition(xy,)
+
Screen:setPosition(x,y)
 
</source>
 
</source>
'''x:''' (number) The new x coordinate ''''''<br/>
+
'''x''': (number) The new x coordinate ''''''<br/>
'''y:''' (number) The new y coordinate ''''''<br/>
+
'''y''': (number) The new y coordinate ''''''<br/>

Revision as of 11:19, 23 August 2018

Available since: Gideros 2017.8

Description

Attempts to position this screen or window, if allowed by the platform.

 Screen:setPosition(x,y)

'x: (number) The new x coordinate '
'y: (number) The new y coordinate '