cancelTweenOrbits()

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

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

In Context

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