TweenManager#removeFrom()

removeFrom(obj, children)

Remove all tweens from a specific object, array of objects or Group.

Parameters
Name Type Argument Default Description
obj object | Array.<object> | Phaser.Group

The object you want to remove the tweens from.

children boolean <optional>
true

If passing a group, setting this to true will remove the tweens from all of its children instead of the group itself.

Source code: tween/TweenManager.js (Line 140)
doc_phaser
2017-02-14 11:18:59
Comments
Leave a Comment

Please login to continue.