Phaser API Documentation

  Version: 
containsImageIndex(imageIndex)

Description:

Returns true if and only if this image collection contains the given image index.

Parameters:

name type description
imageIndex number

The image index to search for.

Returns:
Description:

True if this Image Collection contains the given index.

Type:
  • boolean
Since: 3.0.0