Difference between revisions of "Sprite:getAlpha"

From GiderosMobile
Line 8: Line 8:
 
(number) = Sprite:getAlpha()
 
(number) = Sprite:getAlpha()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) The alpha of the sprite (value between 0-1)<br/>
 
'''Returns''' (number) The alpha of the sprite (value between 0-1)<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.

(number) = Sprite:getAlpha()

Return values

Returns (number) The alpha of the sprite (value between 0-1)