Sprite:setVisible

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2011.6
Class: Sprite

Description

Sets whether or not the sprite is visible.

Sprite:setVisible(visible)
Sprites that are not visible are also taken into consideration while calculating bounds

Parameters

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