Phaser API Documentation

  Version: 
Event: BEFORE_UPDATE
Phaser.Physics.Matter.Events.BEFORE_UPDATE
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.