tolerance threshold in unity

Hi all,

I am trying to get an object to move to a certain location but the way I am doing it isn’t ideal. I am comparing the object to moves position against the target location.

What I want to do is increase the tollerence by say -0.1/ +0.1 but I have never done this before so no idea how to go about doing it. Sorry if this is obvious.

Thank you

Think I may have found the answer here How to detect range? - Questions & Answers - Unity Discussions