Phaser API Documentation

  Version: 
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Event: REMOVE
Phaser.Cache.Events.REMOVE
REMOVE

Description:

The Cache Remove Event.

This event is dispatched by any Cache that extends the BaseCache each time an object is removed from it.

Parameters:

name type description
cache Phaser.Cache.BaseCache

The cache from which the object was removed.

key string

The key of the object removed from the cache.

object *

A reference to the object that was removed from the cache.

Since: 3.0.0