Table of Contents

Sprite:getAlpha

Available since version: Gideros 2011.6

Description:

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

Syntax:

(number) = Sprite:getAlpha()

Return value:

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