# Triggerbox overlap

**URL:** <https://forums.unrealengine.com/t/triggerbox-overlap/490018>\
**Category:** World Creation\
**Tags:** overlap, triggerbox, unreal-engine, question\
**Created:** [October 19, 2021, 10:35am UTC](https://forums.unrealengine.com/t/triggerbox-overlap/490018 "2021-10-19T10:35:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HSwinnie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hswinnie/32/88714_2.png) [@HSwinnie](https://forums.unrealengine.com/u/HSwinnie)\
**Post date:** [October 19, 2021, 10:35am UTC](https://forums.unrealengine.com/t/triggerbox-overlap/490018/1 "2021-10-19T10:35:41Z")

</div>

I am trying to randomly generate a floor layout using different rooms. It works but I have an issue left where rooms can spawn inside eachother. I’m trying to fix it by putting a triggerbox in every room that spans the surface of the room. However when I try to see if two triggerboxes overlap it always return false. Can I not check if two triggerboxes overlap (with “Is Overlapping Actor node”)? Or should I use some other method?

---

<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:** [October 19, 2021, 11:21am UTC](https://forums.unrealengine.com/t/triggerbox-overlap/490018/2 "2021-10-19T11:21:33Z")

</div>

Yes, you can do it that way, or should be able to.

I seem to recall doing it with ‘ComponentOverlapComponents’, which might mean the actor version doesn’t work as expected.

---

<div class="post-metadata">

**Author:** ![HSwinnie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hswinnie/32/88714_2.png) [@HSwinnie](https://forums.unrealengine.com/u/HSwinnie)\
**Post date:** [October 19, 2021, 11:22am UTC](https://forums.unrealengine.com/t/triggerbox-overlap/490018/3 "2021-10-19T11:22:34Z")

</div>

But am I missing something because it never returns true.
