Moving along the path

if anyone knows how to make it so the onTriggerEnter for the planes work
only when the object is at the center i think the basic pathfinding will
be finished