Phaser API Documentation

  Version: 
Event: AFTER_REMOVE
Phaser.Physics.Matter.Events.AFTER_REMOVE
AFTER_REMOVE

Description:

The Matter Physics After Remove Event.

This event is dispatched by a Matter Physics World instance at the end of the process when a Body or Constraint was removed from the world.

Listen to it from a Scene using: this.matter.world.on('afterremove', listener).

Parameters:

name type description
event Phaser.Physics.Matter.Events.AfterRemoveEvent

The Remove Event object.