How do I return an Actor to its starting position?

How can I get a ball to return to its starting position after a delay? I’m writing a soccer free-kick game and want the ball to return to its original position after 5 seconds. I followed some advice and set the ball’s starting position as a variable, but I don’t know how to reference the Actor’s starting position after it’s been kicked.

This is the Blueprint that I wrote to set the ball’s original position as a variable.

This is the Blueprint where I’m baffled - I can’t figure out how to get the value of that variable so that I can reposition the ball.

Any advice would be greatly appreciated!

record the position at the moment of kick (start location [vector]).

Then after delay use Set Actor Location(start location).

1 Like

Thanks! That worked - is there any way to stop it from rolling once its location is re-set?

disable physics before you move it. Reset prior allowing for kick.

1 Like