Table of Contents

Sprite:setVisible

Available since version: Gideros 2011.6

Description:

Sets whether or not the sprite is visible. Sprites that are not visible are also taken
into consideration while calculating bounds.

Syntax:

Sprite:setVisible(visible)

Parameters:

  • visible: (bool) whether or not the sprite is visible