Difference between revisions of "Ads:getX"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
 
Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Ads:getX()
 
(number) = Ads:getX()
 
</source>
 
</source>

Revision as of 16:36, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

Gets x position of the ad in Gideros logical dimensions, taking into consideration applied automatic scaling. <syntaxhighlight lang="lua"> (number) = Ads:getX() </source>

Return values

Returns (number) x position of the ad