# How to make a gate close

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 21, 2014, 2:28pm UTC](https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213 "2014-04-21T14:28:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5878b78b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5878b78b](https://forums.unrealengine.com/u/anonymous_user_5878b78b)\
**Post date:** [April 21, 2014, 2:28pm UTC](https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213/1 "2014-04-21T14:28:37Z")

</div>

Hi Guys!

Interested to know if it is possible to force a gate to close? I have a function that allows the opening of the gate based on a condition, but I’d like to have that same gate close once a timer has run down.

Any help would be great 😃

Cheers!!

---

<div class="post-metadata">

**Author:** ![DizzyWes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DizzyWes](https://forums.unrealengine.com/u/DizzyWes)\
**Post date:** [April 21, 2014, 2:38pm UTC](https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213/2 "2014-04-21T14:38:11Z")

</div>

Howdy!

Check out this section of the Blueprint Door Tutorial and Timelines. You can use a Timeline that will handle your timer and can fire off an event to close the door after the timeline expires:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

-W

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7c9c15f4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7c9c15f4](https://forums.unrealengine.com/u/anonymous_user_7c9c15f4)\
**Post date:** [April 21, 2014, 2:39pm UTC](https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213/3 "2014-04-21T14:39:46Z")

</div>

You could hook the gate to a sequence, send the command along output 1, and send output 2 to a delay which loops back to the close input on the gate.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5878b78b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5878b78b](https://forums.unrealengine.com/u/anonymous_user_5878b78b)\
**Post date:** [April 21, 2014, 2:47pm UTC](https://forums.unrealengine.com/t/how-to-make-a-gate-close/281213/4 "2014-04-21T14:47:16Z")

</div>

Sorry, in my hurry to post this didn’t occur to me to state I meant the gate node, not an actual physical gate 😛
