# Casting collision

**URL:** <https://forums.unrealengine.com/t/casting-collision/463935>\
**Category:** World Creation\
**Tags:** overlap-actors, self-collision, unreal-engine, Physics, Collision, question\
**Created:** [April 18, 2020, 2:15pm UTC](https://forums.unrealengine.com/t/casting-collision/463935 "2020-04-18T14:15:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![revilo14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@revilo14](https://forums.unrealengine.com/u/revilo14)\
**Post date:** [April 18, 2020, 2:15pm UTC](https://forums.unrealengine.com/t/casting-collision/463935/1 "2020-04-18T14:15:40Z")

</div>

Hello,  
Super basic question about casting, but honestly no idea what to plug into it. I have these collision boxes on an actor which make a widget appear and disappear dependent on you being inside them.  
However, my enemies also trigger this which I dont want to happen - I only want my character to be detected in these collisions.

Im 90% sure I need to plug something into other actor, but then again could be wrong.

 ![299953-capturehelp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/e/32e797cf57920aba700ac6570a6ef83f201b67f9.jpeg)

This code is obviously within an actor in my scene, which maybe makes it harder to get my character reference?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 18, 2020, 2:42pm UTC](https://forums.unrealengine.com/t/casting-collision/463935/2 "2020-04-18T14:42:56Z")

</div>

drag from other actor pin and type cast to "name of you actor " connect top most pin (which only fires when overlapped actor is same as actor you are casting to ) to show and hide fucntions.
