Object with pathfinding behavior not resetting to position

How do I…

A clear and concise description of what you are trying to do.

When the ice sword with the pathfinding behavior hits princess sera, the ice sword should go back to the specified coordinates. But what happens is that the ice sword continues pathfinding from its current position towards princess sera, who had respawned since she died. I would like to make the ice sword respawn alongside princess sera at the specified position.

If you disable and then later reanable the pathfinder, it will continue on it’s most recent path. The easiest way I’ve found to stop an object is to have it move to it’s current position meaning object.X(), object,Y(). You can then change it’s position without having to disable/enable the behavior.

Unfortunately, there’s not currently a stop or clear action for the pathfinder. I suggested it.