Difference between revisions of "Ads:setPosition"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2014.01<br/> | |
| − | ''' | + | '''Class:''' [[Ads]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Sets position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling. | |
<source lang="lua"> | <source lang="lua"> | ||
| − | + | Ads:setPosition(x,y) | |
</source> | </source> | ||
| − | === | + | |
| − | '''x''': (number) | + | === Parameters === |
| − | '''y''': (number) | + | '''x''': (number) x position to set<br/> |
| + | '''y''': (number) y position to set<br/> | ||
{{Ads}} | {{Ads}} | ||
Revision as of 21:15, 16 April 2023
Available since: Gideros 2014.01
Class: Ads
Description
Sets position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
Ads:setPosition(x,y)
Parameters
x: (number) x position to set
y: (number) y position to set