Ads:getPosition

From GiderosMobile
Revision as of 17:35, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: Ads

Description

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

Return values

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