# How can i prevent a trigger-box reactivating while event is in progress

**URL:** <https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097>\
**Category:** Blueprint\
**Tags:** trigger-volume, unreal-engine, Blueprint, question\
**Created:** [January 26, 2019, 5:19am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097 "2019-01-26T05:19:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orphi81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orphi81](https://forums.unrealengine.com/u/Orphi81)\
**Post date:** [January 26, 2019, 5:19am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097/1 "2019-01-26T05:19:01Z")

</div>

I’m new to the engine and am creating simple blueprints to get me used to how blueprint scripting works.

I have a platform which when triggered, moves up and down using a timeline. How ever, when the platform is moving, if my character sets off the trigger box again by jumping, the event starts from the beginning from it’s current location, not the ground when it originated. how can i stop the event from triggering again until it reaches it’s original location?

 ![266535-triggered-platform.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/8/0284b6a384aa262b8566bb3c0ad3c049b6de0d61.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f53ee2a91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f53ee2a91](https://forums.unrealengine.com/u/anonymous_user_f53ee2a91)\
**Post date:** [January 26, 2019, 5:38am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097/2 "2019-01-26T05:38:58Z")

</div>

There are a couple ways to accomplish this. The easiest is probably to use the DoOnce node, then connect timeline Finished pin to Reset, possibly with a Delay node. If you need more control of when to allow the event you can use the Gate note, which has Open, Close, and Toggle. If you want other things to know it is moving you could make a boolean that is true while the platform is moving and allow execution only when that is false via a Branch node.

Take a look at [this page][1] for some more info about all those.

[https://docs.unrealengine.com/en-us/Engine/Blueprints/UserGuide/FlowControl](https://docs.unrealengine.com/en-us/Engine/Blueprints/UserGuide/FlowControl)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [January 26, 2019, 6:28am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097/3 "2019-01-26T06:28:17Z")

</div>

Also, just to add, you could set the to go from Play not Play from start, so if it is triggered again, the timeline will just continue from where it is.

Regards

---

<div class="post-metadata">

**Author:** ![Orphi81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Orphi81](https://forums.unrealengine.com/u/Orphi81)\
**Post date:** [January 26, 2019, 7:56am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-trigger-box-reactivating-while-event-is-in-progress/442097/4 "2019-01-26T07:56:47Z")

</div>

Thank You

Those options have helped immensely.

Orphi81
