change sprite priority for pathfinding objects.