# How can I move a physics object to its original location when a key is pressed?

**URL:** <https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [February 27, 2026, 7:32pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770 "2026-02-27T19:32:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MelonTheCuber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MelonTheCuber](https://forums.unrealengine.com/u/MelonTheCuber)\
**Post date:** [February 27, 2026, 7:32pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/1 "2026-02-27T19:32:39Z")

</div>

I have a ball with physics that falls down when the game starts. I would like to be able to reset it to its location before it falls by hitting a key on the keyboard. I am new to Unreal Engine so I’m not sure how to do this.

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [February 27, 2026, 8:10pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/2 "2026-02-27T20:10:46Z")

</div>

Hey @MelonTheCuber! Welcome to the forums!

So on the ball actor you can use “Keyboard \_\_\_” and fill in the blank with the key you want, and use that event.

On BEgin play, you want to save the location of the ball.

When you press that button, use Set Location with Self as the input object, and use the variable you saved on begin play for your location to set to! 🙂

Should be as simple as that. Let us know if you need more info!

---

<div class="post-metadata">

**Author:** ![MelonTheCuber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MelonTheCuber](https://forums.unrealengine.com/u/MelonTheCuber)\
**Post date:** [February 27, 2026, 10:27pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/3 "2026-02-27T22:27:37Z")

</div>

Thanks for the help! What do you mean by self as the input? This is what i have now:

 ![Screenshot 2026-02-27 222211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/6/4b62a28d9d3ca7b3cee4171fa4617a794d428627.png)

---

<div class="post-metadata">

**Author:** ![MelonTheCuber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MelonTheCuber](https://forums.unrealengine.com/u/MelonTheCuber)\
**Post date:** [February 28, 2026, 10:40pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/4 "2026-02-28T22:40:31Z")

</div>

if you could send an image of what it should look like that would be helpful

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [March 2, 2026, 3:52am UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/5 "2026-03-02T03:52:09Z")

</div>

Use a SetActorLocation node where that set location node is. Then use self as the target. That plain Set Location is for camera stuff.

Like so:

 ![ActorReset](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/9/239df558541f045e713ca86efa20c2ce46a0b0a5.jpeg)

If keyboard events aren’t working in the actor, add the actor to the level blueprint and call the reset event from there:

 ![ActorResetLevelBP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/7/ad70764effd66f8f6db48414e98cb28651e67464.jpeg)

Initially I had R call ResetMe in bp\_balltest. but the actor wasn’t receiving input.

---

<div class="post-metadata">

**Author:** ![MelonTheCuber](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MelonTheCuber](https://forums.unrealengine.com/u/MelonTheCuber)\
**Post date:** [March 3, 2026, 12:02am UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/6 "2026-03-03T00:02:08Z")

</div>

Thank you this worked perfectly!

---

<div class="post-metadata">

**Author:** ![G\_S\_1\_7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@G\_S\_1\_7](https://forums.unrealengine.com/u/G_S_1_7)\
**Post date:** [March 5, 2026, 2:19pm UTC](https://forums.unrealengine.com/t/how-can-i-move-a-physics-object-to-its-original-location-when-a-key-is-pressed/2702770/7 "2026-03-05T14:19:27Z")

</div>

Hey,

I try to do this in my VR-Project, but am not able to implement the ResetMe-Function and the BallActor into my VRPawn. If I implement the ResetMe-Function the target is alsways the VRPawn, but I think it should be the Ball Blueprint. How can I change that and how I get the BP\_Ball in it? Drag and Drop from the ContentBrowser or Outliner doesnt work…
