Pathfinding problems

Good day everyone! Can anyone show me the event of pathfinder that only follows an object if it’s visible on the screen.
It will stop following that object if it is not visible on the screen anymore. Thanks <3

1 Like

Use the distance condition


Hello! How can I use this without lagging? If I use trigger once it doesn’t work. Thanks.

1 Like

You have to assume a distance Condition, once the distance between the object and your player is less than is less than value it moves the object.
This should help you understand the basics

1 Like

Condition: If Object is Visible (invert condition)
Action: Activate Behavior Pathfinding of Object no