Phaser API Documentation

  Version: 
checkFrame(index)

Description:

Check if the given frame index is valid.

Parameters:

name type description
index number

The index to be checked.

Returns:
Description:

true if the index is valid, otherwise false.

Type:
  • boolean
Since: 3.0.0