I'd like my player to move on a grid. It is easy to accomplish with keyboard controls. But I'd really like to make it work with a mouse. Basically to have the player sprite move to where you clicked the mouse but only moving at 90 degree angles. I haven't been able to get the official pathfinding behavior to do this. Any tips?
Develop games in your browser. Powerful, performant & highly capable.
Disable diagonals in Pathfinding, add MoveTo behavoior with Rotate speed=0.
On path found -> use MoveTo "Move along pathfinding path" action.