Difference between revisions of "Screen:setPosition"

From GiderosMobile
Line 6: Line 6:
 
  Screen:setPosition(x,y)
 
  Screen:setPosition(x,y)
 
</source>
 
</source>
'''x''': (number) The new x coordinate ''''''<br/>
+
=== Parameters ===
'''y''': (number) The new y coordinate ''''''<br/>
+
'''x''': (number) The new x coordinate <br/>
 +
'''y''': (number) The new y coordinate <br/>

Revision as of 10:45, 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)

Parameters

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