def pause(self):
        if self.running and not self.paused:
            self.paused = True
This method sets the the __paused flag to True(pauses the animation)
dataset/ETHPy150Open GelaniNijraj/PyMaterial/MAnimations/MAnimator.py/MAnimator.pause