Difference between revisions of "Screen:setPosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2017.8<br/> | + | '''<translate>Available since</translate>:''' Gideros 2017.8<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Attempts to position this screen or window, if allowed by the platform.</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''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/> |
Revision as of 07:28, 24 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