[ad_1]
i wish to pause tween and when wanted wish to resume it reasonably than cease and begin over once more , is there any means to take action?
please take a look at with this : cc.TweenSystem.occasion.ActionManager.pauseTarget(…)
/**
* @en Pauses the goal: all operating actions and newly added actions will probably be paused.
* @zh 暂停指定对象:所有正在运行的动作和新添加的动作都将会暂停。
* @methodology pauseTarget
* @param {Node} goal
*/
pauseTarget(goal: Node): void;
my want is as following :
tween1 operating
clicked on object
tween1 paused
tween2 began (identical node)
when tween2 end tween1 resumes from the place it was paused
[ad_2]