# Widget equivalent for HUDs "Get Actors in Selection Rectangle"

**URL:** <https://forums.unrealengine.com/t/widget-equivalent-for-huds-get-actors-in-selection-rectangle/485320>\
**Category:** UI\
**Tags:** overlap-actors, unreal-engine, selection, Widget, question\
**Created:** [June 24, 2021, 5:06pm UTC](https://forums.unrealengine.com/t/widget-equivalent-for-huds-get-actors-in-selection-rectangle/485320 "2021-06-24T17:06:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devalx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devalx](https://forums.unrealengine.com/u/devalx)\
**Post date:** [June 24, 2021, 5:06pm UTC](https://forums.unrealengine.com/t/widget-equivalent-for-huds-get-actors-in-selection-rectangle/485320/1 "2021-06-24T17:06:57Z")

</div>

Hey,

i am currently trying to create an RTS-style game, with the camera in birds-eye view and the player can select units on the ground.

Now i am trying to implement the multi-selection of units by drawing a box around them.  
I implemented the first part of this system, the actual drawing of this MultiSelection-box, with widgets (actually i am using a CanvasPanel with a BorderWidget) … and this actually works reasonably well, BUT i dont know how to select all overlapping Units of this Widget.

I found the mentioned method “Get Actors in Selection Rectangle” on the HUD, is there anything similar for Widgets?

---

<div class="post-metadata">

**Author:** ![VL4DST3R](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vl4dst3r/32/482857_2.png) [@VL4DST3R](https://forums.unrealengine.com/u/VL4DST3R)\
**Post date:** [November 28, 2022, 12:49am UTC](https://forums.unrealengine.com/t/widget-equivalent-for-huds-get-actors-in-selection-rectangle/485320/2 "2022-11-28T00:49:20Z")

</div>

Have you ever found anything for this?
