Difference between revisions of "Sprite:getAlpha"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaq...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Sprite:getAlpha()
+
(number) = Sprite:getAlpha()
 
</source>
 
</source>
 
'''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:20, 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()

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