Phaser API Documentation

  Version: 
add(item)

Description:

Adds a new item to the Process Queue.

The item is added to the pending list and made active in the next update.

Parameters:

name type description
item *

The item to add to the queue.

Returns:
Description:

The item that was added.

Type:
  • *
Since: 3.0.0