Difference between revisions of "Screen:setPosition"

From GiderosMobile
Line 11: Line 11:
 
'''x''': (number) <translate>The new x coordinate</translate> <br/>
 
'''x''': (number) <translate>The new x coordinate</translate> <br/>
 
'''y''': (number) <translate>The new y coordinate</translate> <br/>
 
'''y''': (number) <translate>The new y coordinate</translate> <br/>
 +
 +
{{Screen}}

Revision as of 22:42, 3 December 2019


Available since: Gideros 2017.8
Class: Screen

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