Move pawn/AI

Okay thanks. That’s a start, but do you how would i go about constant linear movement until a certain condition is met, like collision?