Table of Contents

Sprite:setAlpha

Available since version: Gideros 2011.6

Description:

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

Syntax:

Sprite:setAlpha(alpha)

Parameters:

  • alpha: (number) The new alpha transparency of the sprite