arrow keys to move click see inside and copy the code or backpack it :D
It would be better to use a hitbox sprite that is always on your desired sprite since it would be more accurate