Phaser API Documentation

  Version: 
childCanRender(child)

Description:

Checks if the given child can render or not, by checking its visible and alpha values.

Parameters:

name type description
child Phaser.GameObjects.Bob

The Bob to check for rendering.

Returns:
Description:

Returns true if the given child can render, otherwise false.

Type:
  • boolean
Since: 3.0.0