onUpdate : Phaser.Signal | null
This event is dispatched when the Animation changes frame.By default this event is disabled due to its intensive nature. Enable it with: Animation.enableUpdate = true.Note that the event is only dispatched with the current frame. In a low-FPS environment Animationswill automatically frame-skip to try and claw back time, so do not base your code on expecting toreceive a perfectly sequential set of frames from this event.
Type
Phaser.Signal | null
Source cod