cancelTweenRots()

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

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

In Context

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