# Fire Event Randomly with increasing frequency

**URL:** <https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472>\
**Category:** Blueprint\
**Tags:** time, random, event-firing, unreal-engine, question, Blueprint\
**Created:** [September 11, 2014, 10:45pm UTC](https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472 "2014-09-11T22:45:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7eedd28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7eedd28](https://forums.unrealengine.com/u/anonymous_user_d7eedd28)\
**Post date:** [September 11, 2014, 10:45pm UTC](https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472/1 "2014-09-11T22:45:26Z")

</div>

I’m making a basic ‘Wack-A-Mole’ game while I’m learning UE.

The moles rise up, get clicked and then go back in their holes again. I’m raise the mole actors using a Timeline, but this doesn’t give me the randomness I want nor the increasing speed the ‘Raise Mole’ event is fired as the game gets harder.

My current blueprint extract is below.

What should I be doing to randomly fire the Raise Mole event with the ability for the fire frequency in increase over time?

 ![15161-molegrid.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/a/12aded5ffc6a8c9727631c695e6e6d7dab547bcf.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_759e5c3a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_759e5c3a](https://forums.unrealengine.com/u/anonymous_user_759e5c3a)\
**Post date:** [September 11, 2014, 10:59pm UTC](https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472/2 "2014-09-11T22:59:54Z")

</div>

Hi Dam0,

I would suggest using a timer that get set to happen more frequently every time it fires. You can then use a “Random Float in Range” to change that up. Eventually it will just be constantly firing, so you will want to probably set a Float Clamp to make sure there is at least some time between raised moles.

Here is an example:

 ![15154-whackamole2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/4/a240c0141477be36e1651f0617ba83f28979e810.jpeg)

Let me know if that helps you.

Cheers,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7eedd28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7eedd28](https://forums.unrealengine.com/u/anonymous_user_d7eedd28)\
**Post date:** [September 13, 2014, 4:14pm UTC](https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472/3 "2014-09-13T16:14:00Z")

</div>

great, thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_891829ac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_891829ac](https://forums.unrealengine.com/u/anonymous_user_891829ac)\
**Post date:** [June 6, 2016, 8:26pm UTC](https://forums.unrealengine.com/t/fire-event-randomly-with-increasing-frequency/293472/4 "2016-06-06T20:26:31Z")

</div>

Hello, I am making something similar to your game however I don’t know how to get the raise Mole part. I have done it in Mantinee but somehow can’t reference it if I make it a custom event.
