I think you can benefit from using a wall object. You can apply a velocity on it using Set Velocity and it will continue moving forever.
Now to make it move in a specific direction, you do need to use a bit of math. The Set Velocity behavior has x and y input fields. What do you plug into those?
Calculate x by using the Sine function. Sine takes in an angle.
Calculate y by using the Cosine function. Cosine takes in an angle.
Here I take an angle (substitute it with whatever angle you want) and plug it into Math Function behaviors.
[image: c238509d-ef26-4934-853f-cae3dedc5d7d.png]
[image: 6dc48bdc-0a07-4ada-b7ef-1b1a81b2c6c9.png]
Now I take the outputs of the Math Function behaviors, and multiply them. The bigger the number you multiply with, the faster the object will travel.
[image: aabe7a88-5d93-4997-8a2d-6625d47b9482.png]
[image: ba98917a-9835-4fd3-8b86-883c8fe9361c.png]
Finally, plug the results of those behaviors into Set Velocity.
[image: b8505dba-89e3-4478-a52a-b9f7ede60bb0.png]
In conclusion, given an angle and speed you want an object to travel, you can calculate the x and y velocity to apply to a wall object with these equations:
x = Sine(angle) * speed
y = Cosine(angle) * speed