You are 100% correct, I spent all my time on the animations to be left with coding the mechanics later on in the project and it's my first game ever made :')
so I had to kinda cheap out on the mechanics sadly T_T