cancelTweenMoves()

Cancels all currently active tween moves on the element on which this method is called. >> More on Tweens in the class reference.

<camera>.cancelTweenMoves()
<sprite>.cancelTweenMoves()
<tag>.cancelTweenMoves()

In Context

def onSetup(self):
    self.camera.tweenMoveTo(Tween(0.0, 0.0, 20.0, 1.5))
    self.camera.cancelTweenMoves()
s = ASpriteClass(self, 'sprite1')
s.tweenMoveTo(Tween(0.5, 0.0, 0.0, 1.5))
s.cancelTweenMoves()
t = ATagClass(self, 'tag1')
t.tweenMoveTo(Tween(0.5, 0.0, 0.0, 1.5))
t.cancelTweenMoves()
Initiated by Stephan Hechenberger
Thanks to CADRE's 103