Stop one tile away from the target

Hello.
My game is a top view 2d classic rpg. Characters move through tiles 16x16 pixels.
I use the AI Lerp script,
how could I make the character stop one tile away from the target?

Thank you! :slightly_smiling_face:

Hi

You may need to subclass the AIPath movement script for this to modify the path slightly.
Essentially I think you need to calculate the path and then remove the last waypoint in it. You can override the OnPathComplete method to do this.