# Creating a basic pushable/draggable block

**URL:** <https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066>\
**Category:** World Creation\
**Tags:** sidescroller, unreal-engine, Physics, Blueprint, question\
**Created:** [September 20, 2016, 1:39pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066 "2016-09-20T13:39:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slackarn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slackarn](https://forums.unrealengine.com/u/Slackarn)\
**Post date:** [September 20, 2016, 1:39pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/1 "2016-09-20T13:39:50Z")

</div>

Im trying to create a sidescroller and the first thing i needed was ofcourse a piece of block that could be moved and dragged for puzzles and still have physics enabled.

I managed to restrain the physics with “Physics Contraint” so the box was pushable correctly but its gonna be a problem when it eventually hits a wall and there is no way to pull it back.

Later on i tried to add a physics handle so i could grab the handles but all the answers for that were for first person and the more i work with it the more problems comes up with the blueprints.

Anyone could help me here?

---

<div class="post-metadata">

**Author:** ![NoobsDeSroobs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobsDeSroobs](https://forums.unrealengine.com/u/NoobsDeSroobs)\
**Post date:** [September 20, 2016, 1:43pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/2 "2016-09-20T13:43:25Z")

</div>

Dragging would require some mechanic, like a key press, to grab the block. Then use a physics handle to grab the block.

HTH

---

<div class="post-metadata">

**Author:** ![Slackarn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slackarn](https://forums.unrealengine.com/u/Slackarn)\
**Post date:** [September 20, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/3 "2016-09-20T14:33:55Z")

</div>

Well i tried that but it seems i cant get it to work and i dont really know where i need supplement the necessary variabels to make it work.

 ![107820-blockbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/2/01255055326f6e44e79d2cdd3753630b39d1265e.jpeg)

 ![107831-charbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/8/a2892d2a9542467bbd0ec2cf49c3f78c6e522252.jpeg)

i tried other variations but i really just dont know where i do wrong.

---

<div class="post-metadata">

**Author:** ![Mookaroni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mookaroni](https://forums.unrealengine.com/u/Mookaroni)\
**Post date:** [September 20, 2016, 5:11pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/4 "2016-09-20T17:11:47Z")

</div>

Hey Slack,

A physics handle is what you’re going to want to use in this case. You’ll need a certain event or keystroke to determine whether to attach a physics handle, and a tick to update it.

An example would be having your character press ‘E’ near a box. You’d handle the event by creating a physics handle between the sidescroller character and the box, and then you’d update the physics handle as a means of moving the box.

Here’s an example of how you would update the physics handle:  
_This keeps the box in front of the character. So if you take this and implement this for your sidescroller, when you move backwards, the box slides backward as well and the same logic for pushing forward._  
[https://wiki.unrealengine.com/File:PhysicsHandle02.JPG](https://wiki.unrealengine.com/File:PhysicsHandle02.JPG)

---

<div class="post-metadata">

**Author:** ![Abdalah.Salameh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/abdalah.salameh/32/905357_2.png) [@Abdalah.Salameh](https://forums.unrealengine.com/u/Abdalah.Salameh)\
**Post date:** [March 3, 2024, 9:49am UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/5 "2024-03-03T09:49:19Z")

</div>

hey did it work ? if so i would like to know how you set it up

---

<div class="post-metadata">

**Author:** ![rxyxne12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rxyxne12](https://forums.unrealengine.com/u/rxyxne12)\
**Post date:** [May 6, 2025, 7:14pm UTC](https://forums.unrealengine.com/t/creating-a-basic-pushable-draggable-block/371066/6 "2025-05-06T19:14:47Z")

</div>

Can u explain more about this please? The link isn’t working for me
