press r to begin replaying the thing basically works by storing the mouse x and y each frame and when read it basically just reads from that list and changes each frame