Run when the animation (or animation group) is stopped

Signature:

OnStop(self, requested)

Arguments:

  • self - Reference to the widget for which the script was run (animation)
  • requested - True if the animation was stopped due to a call to the animation's or group's :Stop() method; false if the animation was stopped for other reasons (boolean)