Setting Up A Stop Animation

I solved this by setting a ‘left mouse button key down’ and if it is down don’t play animation.