# How to add Power Mechanic to Doors When Used

**URL:** <https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [February 21, 2026, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419 "2026-02-21T14:29:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Impudent\_Swine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/impudent_swine/32/1121349_2.png) [@Impudent\_Swine](https://forums.unrealengine.com/u/Impudent_Swine)\
**Post date:** [February 21, 2026, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419/1 "2026-02-21T14:29:20Z")

</div>

When I close a door, I want a progression bar to count down for every frame that it is opened, and then causes the door to shut down momentarily after being down for too long.

I already have the door blueprint, but do I need to connect the blueprint to a progression bar widget or is there a simpler way to do this? ChatGPT is giving me the most headache inducing breakdowns

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [February 21, 2026, 9:22pm UTC](https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419/2 "2026-02-21T21:22:20Z")

</div>

Does the have a specific position or rotation in its opened state?

If so let’s say rotation

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/3/be30403a1e22a6d8f8e703964eca78f754bfdda7.png)

---

<div class="post-metadata">

**Author:** ![Impudent\_Swine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/impudent_swine/32/1121349_2.png) [@Impudent\_Swine](https://forums.unrealengine.com/u/Impudent_Swine)\
**Post date:** [February 23, 2026, 10:12pm UTC](https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419/3 "2026-02-23T22:12:59Z")

</div>

The door changes in position when the button connected to it is pressed, shutting the door.

---

<div class="post-metadata">

**Author:** ![RedGrimnir](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/redgrimnir/32/1054683_2.png) [@RedGrimnir](https://forums.unrealengine.com/u/RedGrimnir)\
**Post date:** [February 23, 2026, 10:50pm UTC](https://forums.unrealengine.com/t/how-to-add-power-mechanic-to-doors-when-used/2701419/4 "2026-02-23T22:50:21Z")

</div>

So in blueprint before play in editor look at the relative rotation of the door in closed state.

**ClosedRotation =** Door-\>GetRelativeRotation-\>BreakRotation-\>Z(Yaw Component)

When you press the button you are probably rotating the door so each time it rotates its relative rotation changes to something.

**CurrentRotation =** Door-\>GetRelativeRotation-\>BreakRotation-\>Z(Yaw Component)

The difference between closed and open state rotation difference is your DeltaRotation

DeltaRotation = Absolute(ClosedRotation -CurrentRotation)

You can get this DeltaRotation and MapRangeClamped to 0 Min 1Max (since progress bar default 0, 1 full)

Additionally you can show your blueprints or make a video to properly convey your problem since we cannot guess your setup.
