Hey guys i am currently making a pacman remake in greenfoot but I'm having trouble with getting pacman to move like he does in the original game, moving forward and turning only when there is a path available
basically i need to make the actor (pacman) only turn if there is an available path for him to turn into