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: AFTER_UPDATE
Phaser.Physics.Matter.Events.AFTER_UPDATE
AFTER_UPDATE

Description:

The Matter Physics After Update Event.

This event is dispatched by a Matter Physics World instance after the engine has updated and all collision events have resolved.

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

Parameters:

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

The Update Event object.