# Get actors in selection rectangle giving weird results

**URL:** <https://forums.unrealengine.com/t/get-actors-in-selection-rectangle-giving-weird-results/304204>\
**Category:** Rendering\
**Tags:** screen-space, visibility, unreal-engine, question, visible\
**Created:** [January 17, 2015, 5:50am UTC](https://forums.unrealengine.com/t/get-actors-in-selection-rectangle-giving-weird-results/304204 "2015-01-17T05:50:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Admiral\_Skye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Admiral\_Skye](https://forums.unrealengine.com/u/Admiral_Skye)\
**Post date:** [January 17, 2015, 5:50am UTC](https://forums.unrealengine.com/t/get-actors-in-selection-rectangle-giving-weird-results/304204/1 "2015-01-17T05:50:59Z")

</div>

I’m trying to use the “Get Actors in Selection Rectangle” function to get the actors currently on screen with a first person camera. But it’s behaving weird and giving me the actor when it’s clearly not on screen. They can be completely behind me and still detect it. Rotating the camera makes it detect the actor at random actors. Anyone know what is going on with this?

 ![26984-rect.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/9/0f9735c3b5966273ba96a78157ce652968e1def8.jpeg)

---

<div class="post-metadata">

**Author:** ![GlassBeaver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/glassbeaver/32/551492_2.png) [@GlassBeaver](https://forums.unrealengine.com/u/GlassBeaver)\
**Post date:** [February 3, 2018, 11:32am UTC](https://forums.unrealengine.com/t/get-actors-in-selection-rectangle-giving-weird-results/304204/2 "2018-02-03T11:32:50Z")

</div>

It’s probably caused by components expanding your pawn’s/character’s bounding box to beyond what you’d expect. See my answer to [https://answers.unrealengine.com/questions/85782/get-actors-in-selection-rectangle-doesnt-work.html](https://answers.unrealengine.com/questions/85782/get-actors-in-selection-rectangle-doesnt-work.html) for a possible solution in c++.
