how could i make so an opponent reach the destination. like in a top down racer.

pls help

can you send your game link