A* pathfinding in editor