# Box collision overlap only one direction when i move and extend it.

**URL:** <https://forums.unrealengine.com/t/box-collision-overlap-only-one-direction-when-i-move-and-extend-it/1711530>\
**Category:** Programming & Scripting\
**Tags:** overlap, unreal-engine, Collision, CPP, question, box-overlap\
**Created:** [February 25, 2024, 11:31am UTC](https://forums.unrealengine.com/t/box-collision-overlap-only-one-direction-when-i-move-and-extend-it/1711530 "2024-02-25T11:31:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuszauke321](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kuszauke321](https://forums.unrealengine.com/u/Kuszauke321)\
**Post date:** [February 25, 2024, 11:31am UTC](https://forums.unrealengine.com/t/box-collision-overlap-only-one-direction-when-i-move-and-extend-it/1711530/1 "2024-02-25T11:31:35Z")

</div>

The issue :  
I created box component child class that i want to multiselect units in my RTS game.

On the video below You can see, when i try to select units from bottom right to top left it’s work fine (it’s negative X,Y to positive X,Y) but any other direction generate issues.

[2024-02-25 10-27-04.mkv](https://forums.unrealengine.com/uploads/short-url/5zIGfgm994AmHwwf9NxCF89ua5V.mkv) (6.6 MB)

On the left side on video You can see my little debug of Delegates. Two on the top are broadcasted when some interactable actor (it’s component) is added or removed from array of hovered interactables. Third and fourth events are ComponentBegin and ComponentEnd overlap.

 ![Zrzut ekranu 2024-02-25 104259](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/1/8b1eec2dfba58c9c407df77d72ee696faf8de480.png)

Collisions configurations :

 ![Zrzut ekranu 2024-02-25 102854](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/6/e6663862b38d4e7016b12229cbffb5e2670c97a8.jpeg)  
 ![Zrzut ekranu 2024-02-25 103032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/f/4df18f23444c7dd822297839fbe7d75f85af63e9.jpeg)  
 ![Zrzut ekranu 2024-02-25 103229](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/6/71607b37b85cfe51360e95f2a3536d24954950a0.jpeg)  
 ![Zrzut ekranu 2024-02-25 103339](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/8/b6884ea0821c20d2ec79e97f3c5fe23c5c01b793.jpeg)

And my BoxComponent child class source :

[source.txt](https://forums.unrealengine.com/uploads/short-url/qTPlnuwmnYnN9YdzjvH3fEbEizT.txt) (5.3 KB)  
[Header.txt](https://forums.unrealengine.com/uploads/short-url/9hGcTyDvYU4em88Xh3VI6JJx76y.txt) (4.3 KB)
