Rotation of the pathfinding objects In correlation with animation rotation

https://forum.gdevelop.io/t/please-add-8-direction-sprites-please/28441/6?u=slash
just divide by 90 instead of 45