Screen:setPosition: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2017.8<br/>
'''Available since:''' Gideros 2017.8<br/>
=== Description ===
=== Description ===
Attempts to position this screen or window, if allowed by the platform.
<translate>Attempts to position this screen or window, if allowed by the platform.</translate>
<source lang="lua">
<source lang="lua">
  Screen:setPosition(x,y)
  Screen:setPosition(x,y)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''x''': (number) The new x coordinate <br/>
'''x''': (number) <translate>The new x coordinate</translate> <br/>
'''y''': (number) The new y coordinate <br/>
'''y''': (number) <translate>The new y coordinate</translate> <br/>

Revision as of 12:38, 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