Ads:getPosition: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied autom..."
 
No edit summary
Line 4: Line 4:
Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling
Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling
<source lang="lua">
<source lang="lua">
(number) (number), = Ads:getPosition()
(number), (number) = Ads:getPosition()
</source>
</source>
'''Returns''' (number) x position of the ad<br/>
'''Returns''' (number) x position of the ad<br/>
'''Returns''' (number) y position of the ad<br/>
'''Returns''' (number) y position of the ad<br/>

Revision as of 09:11, 23 August 2018

Available since: Gideros 2011.6

Description

Gets x and y position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling

(number), (number) = Ads:getPosition()

Returns (number) x position of the ad
Returns (number) y position of the ad