use the arrow keys to move. you might get stuck in the wall press on the dog and he will be free. https://scratch.mit.edu/projects/409404738/
Thanks to @bookdog17