Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Group
toggleVisible()
Description:
Toggles (flips) the visible state of each member of this group.
Returns:
Description:
This Group object.
Type:
Phaser.Physics.Arcade.Group
Inherited from:
Phaser.GameObjects.Group#toggleVisible
Since:
3.0.0
Source:
src/gameobjects/group/Group.js
(Line
1666
)
Possible examples