Ads:getPosition: Difference between revisions

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

Revision as of 12:32, 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()

Return values

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