Phaser API Documentation

  Version: 

Member of: Phaser

<static, constant> FOREVER: number

Description:

In Phaser the value -1 means 'forever' in lots of cases, this const allows you to use it instead to help you remember what the value is doing in your code.

Type:
number
Since: 3.0.0
Source: src//const.js (Line 75)