# trigger a function only once

**URL:** <https://forums.unrealengine.com/t/trigger-a-function-only-once/452842>\
**Category:** UI\
**Tags:** hud, unreal-engine, UE4, Blueprint, question\
**Created:** [July 25, 2019, 9:02pm UTC](https://forums.unrealengine.com/t/trigger-a-function-only-once/452842 "2019-07-25T21:02:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coccodrillo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Coccodrillo](https://forums.unrealengine.com/u/Coccodrillo)\
**Post date:** [July 25, 2019, 9:02pm UTC](https://forums.unrealengine.com/t/trigger-a-function-only-once/452842/1 "2019-07-25T21:02:36Z")

</div>

it’s possible trigger a function only once, because I don’t need to do it all the time,  
I just have to update a text in the hud.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 26, 2019, 12:58pm UTC](https://forums.unrealengine.com/t/trigger-a-function-only-once/452842/2 "2019-07-26T12:58:57Z")

</div>

You could put a ‘do once’ at the start of the function…

---

<div class="post-metadata">

**Author:** ![gamesmyth27](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gamesmyth27](https://forums.unrealengine.com/u/gamesmyth27)\
**Post date:** [July 28, 2019, 12:17am UTC](https://forums.unrealengine.com/t/trigger-a-function-only-once/452842/3 "2019-07-28T00:17:18Z")

</div>

or ‘Do N’ with a reset
