In this script I want to be able to set a certain rout so it goes a certain way
If you are talking about moving an entity in world space towards a point, then this example project may be of help:
does it support collision?
No, you will have to take care of that yourself.
Search around the forum for “pathfinding” on how to implement entity routing that can navigate around obstacles.
Ok thank you