# How to stop Follow Path steering behavior when reached target?

I'm using libgdx Follow Path Steering Behavior in my top-down game. When unit reaches the end of the path, it goes to the start (not directly, but following path), then to the end and so on. How to stop following path, when unit reached the end point?

Try FollowPath#setArriveEnabled(boolean). It allows you to set whether or not to use Arrive behavior to approach the end of an open path.
Additionally, you might want to take a look at FollowPath#setArrivalTolerance(float)