You can perform a series of MoveHero actions, each moving the hero one step, with a check for success after each step. Store the coordinates of each step in an array.
New here? I'm Roha — want a quick tour?
You can perform a series of MoveHero actions, each moving the hero one step, with a check for success after each step. Store the coordinates of each step in an array.