Ads:getWidth

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

Available since: Gideros 2014.01
Class: Ads

Description

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

Return values

Returns (number) width of the banner ad