me combining the code from @griffpatch YouTube video where he made a spider cat and motion capture btw if you press 0 it deletes recording and if you press space it starts recording the mouse movements until you click down arrow so see inside to do that its in the player's sprite
@griffpatch for pretty much all the code except motion capture