ok there is a way to this but need some variables :
you need a variable (boolean) for the object so when he reach the distance it will be true. (we call it reached)
event1:
condition1:everytick.
condition2:object X is reached (boolean = false)
action:object:move at angle -> angle=(direction),distance=(1)
event2:
condition1:object X is reached
condition2:object compare x -> (300)
action: set boolean true