Click the green flag. The pacman will start moving automatically. Just turn the pacman with the arrow keys or A, W, S and D key
Credits to my academy which taught me scratch. You can see my other small but wonderful projects on- https://scratch.mit.edu/search/projects?q=TalentedProjectMaker Credits to my academy which taught me scratch.