# Multi sphere trace by channel only returning a couple of actors

**URL:** <https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176>\
**Category:** World Creation\
**Tags:** Trace, sphere-collision, unreal-engine, question\
**Created:** [June 24, 2020, 8:31am UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176 "2020-06-24T08:31:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![EdBennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Post date:** [June 24, 2020, 8:31am UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176/1 "2020-06-24T08:31:29Z")

</div>

HI I’m trying to do a multi sphere trace by Chanel in order to return the enemy which are in front of my character. However it only seems to return 1 or 2 each time.

This is my code:

 ![305260-mstcode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/2/222f78c5b30cbd2291aebe75340d82fa528cf921.png)

This is what it looks like:

 ![305261-lookmst.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/a/92a3a6e74922cd65dbc82b83596fa24329375bd2.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 24, 2020, 8:34am UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176/2 "2020-06-24T08:34:19Z")

</div>

How are you counting?

It’s most likely because the visibility channel is blocked on those actors. The first blocking hit stops the trace.

Many ways to solve this. Either Set the Visiblity to overlap or create another, custom, non-blocking channel.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 24, 2020, 9:01am UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176/3 "2020-06-24T09:01:35Z")

</div>

Just to clarify, hitting 1 and 4 accordingly, the red hit is a blocking hit:

![305240-hitting1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/4/9f461fcd70183815206374de186ae090b19f1fee.jpeg)

![305271-hitting4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/4/15402ffe2360ed53e3281df25dcecbb94339742d.jpeg)

---

<div class="post-metadata">

**Author:** ![EdBennett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Post date:** [June 24, 2020, 12:02pm UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176/4 "2020-06-24T12:02:55Z")

</div>

Again Everynone, my thanks :~)

---

<div class="post-metadata">

**Author:** ![Mattboyguy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattboyguy](https://forums.unrealengine.com/u/Mattboyguy)\
**Post date:** [July 11, 2024, 11:43pm UTC](https://forums.unrealengine.com/t/multi-sphere-trace-by-channel-only-returning-a-couple-of-actors/467176/5 "2024-07-11T23:43:25Z")

</div>

well put, thanks for the help.
