Run when the animation (or animation group) is paused

Signature:

OnPause(self)

Arguments:

  • self - Reference to the widget for which the script was run (animation)