Difference between revisions of "Ads:setPosition"

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

Revision as of 17:46, 12 July 2023

Available since: Gideros 2014.01
Class: Ads

Description

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

Parameters

x: (number) x position to set
y: (number) y position to set