Phaser API Documentation

  Version: 
contains(child)

Description:

Tests if a Game Object is a member of this group.

Parameters:

name type description
child Phaser.GameObjects.GameObject

A Game Object.

Returns:
Description:

True if the Game Object is a member of this group.

Type:
  • boolean
Since: 3.0.0