Phaser API Documentation

  Version: 
BEFORE_UPDATE

Description:

The Matter Physics Before Update Event.

This event is dispatched by a Matter Physics World instance right before all the collision processing takes place.

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

Parameters:

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

The Update Event object.