Animation#previous()

previous(quantity)

Moves backwards the given number of frames in the Animation, taking the loop value into consideration.

Parameters
Name Type Argument Default Description
quantity number <optional>
1

The number of frames to move back.

Source code: animation/Animation.js (Line 563)
doc_phaser
2017-02-14 10:35:56
Comments
Leave a Comment

Please login to continue.