Sprite:getAlpha

This page contains changes which are not marked for translation.


Available since: Gideros 2011.6
Class: Sprite

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)