Phaser API Documentation

  Version: 
setVisible(value)

Description:

Sets the visibility of this Bob.

An invisible Bob will skip rendering.

Parameters:

name type description
value boolean

The visible state of the Game Object.

Returns:
Description:

This Bob Game Object.

Since: 3.0.0