# Know what actor inside of a blueprint overlaps

**URL:** <https://forums.unrealengine.com/t/know-what-actor-inside-of-a-blueprint-overlaps/452749>\
**Category:** Blueprint\
**Tags:** Motion-Controller, unreal-engine, Blueprint, question, overlap-event\
**Created:** [July 24, 2019, 4:44am UTC](https://forums.unrealengine.com/t/know-what-actor-inside-of-a-blueprint-overlaps/452749 "2019-07-24T04:44:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab1ea73f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab1ea73f](https://forums.unrealengine.com/u/anonymous_user_ab1ea73f)\
**Post date:** [July 24, 2019, 4:44am UTC](https://forums.unrealengine.com/t/know-what-actor-inside-of-a-blueprint-overlaps/452749/1 "2019-07-24T04:44:51Z")

</div>

Hi guys, I have a menú with 4 buttons inside of BP\_motionController. This menu is a child blueprint of the right hand. I created a sphere colision to do an overlap over this menu (in the other hand, like a finger). The thing is I need to create different events for every button, but i don’t know how to declare every button. Something like "If Sphere overlaps button 01 do this, if sphere overlaps button 02 do that.

When I do the overlap it take the whole blueprint “Menu” and i need the overlap count just a button inside of this blueprint. I tried with “Get all actors from a class” and asign it to a variable (let’s say the 0 in the array). But when i print it still showing “Menu overlaps” instead of “Button 01” for example.

The thing that i need is a way to create a reference of every button inside the menu blueprint.

Any clue?

Thank you!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e317d48f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e317d48f](https://forums.unrealengine.com/u/anonymous_user_e317d48f)\
**Post date:** [July 24, 2019, 5:03am UTC](https://forums.unrealengine.com/t/know-what-actor-inside-of-a-blueprint-overlaps/452749/2 "2019-07-24T05:03:38Z")

</div>

Please show screenshots of blueprints

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ab1ea73f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ab1ea73f](https://forums.unrealengine.com/u/anonymous_user_ab1ea73f)\
**Post date:** [July 27, 2019, 12:09am UTC](https://forums.unrealengine.com/t/know-what-actor-inside-of-a-blueprint-overlaps/452749/3 "2019-07-27T00:09:05Z")

</div>

Hi, I solved it. Was a problem of logic. I was trying to add an overlap event over the sphere (the finger) and not over the buttons. So everytime that the sphere collided with a button, execute the sphere event. The right logic was define the overlap event on every button and not in the sphere. So i created an overlap event in every button and it worked.

Here is the simple blueprint

 ![283369-bp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/e/26e0f8f1bc276b56643ed59726a33563eb6a45b2.jpeg)

Thank you!
