Use your mouse to move the rook.
I was inspired by this project: https://scratch.mit.edu/projects/374946430/