Ads:setX: Difference between revisions

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

Revision as of 15:59, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

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

Parameters

x: (number) set x coordinate