# Choose Random between 3 box colliders

**URL:** <https://forums.unrealengine.com/t/choose-random-between-3-box-colliders/342721>\
**Category:** Blueprint\
**Tags:** random, unreal-engine, question, Blueprint\
**Created:** [December 30, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/choose-random-between-3-box-colliders/342721 "2015-12-30T14:42:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_99a2265a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99a2265a](https://forums.unrealengine.com/u/anonymous_user_99a2265a)\
**Post date:** [December 30, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/choose-random-between-3-box-colliders/342721/1 "2015-12-30T14:42:54Z")

</div>

Hello, i want to create 3 different areas to spawn coins and i want it to random choose between these areas, how do i do it?

 ![72305-sem+título.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/c/5bcc45aece108476cef140233ca9154689de31ed.png)

As you see, i have 3 differents “Relative Locations” and “box events”, i want it to choose randomly between these three and then go to the “Random Point in Bounding Box”

---

<div class="post-metadata">

**Author:** ![Daekesh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daekesh/32/918652_2.png) [@Daekesh](https://forums.unrealengine.com/u/Daekesh)\
**Post date:** [December 30, 2015, 3:00pm UTC](https://forums.unrealengine.com/t/choose-random-between-3-box-colliders/342721/2 "2015-12-30T15:00:51Z")

</div>

I’d probably do something like this:

- [http://puu.sh/mdIHO/324726aa91.png](http://puu.sh/mdIHO/324726aa91.png)

- [http://puu.sh/mdITA/2296ac060f.png](http://puu.sh/mdITA/2296ac060f.png)

(Leaving the select on wildcard did not compile in 4.10.)

Edit: Probably want to call that struct CoinArea, rather than Location, I suppose.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_99a2265a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99a2265a](https://forums.unrealengine.com/u/anonymous_user_99a2265a)\
**Post date:** [December 30, 2015, 3:58pm UTC](https://forums.unrealengine.com/t/choose-random-between-3-box-colliders/342721/3 "2015-12-30T15:58:56Z")

</div>

Oh, thank you bro! But i did it a bit different and worked! Here is the print:

 ![72310-sem+título.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/6/a3690be32aecc0e37f6bbfc5a495453cf2b0a03d.png)
