# Can you manually adjust the location of Collision Handling Override?

**URL:** <https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, question, Blueprint\
**Created:** [July 26, 2022, 5:14pm UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863 "2022-07-26T17:14:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lowenfas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lowenfas](https://forums.unrealengine.com/u/Lowenfas)\
**Post date:** [July 26, 2022, 5:14pm UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863/1 "2022-07-26T17:14:28Z")

</div>

My level is randomly generated and all my enemies are spawned in at random locations so to ensure all my enemies spawn I have the SpawnActors node set to ‘Try to adjust location, But Always Spawn’.  
The problem is that its location “adjustments” are terrible. It seems to adjust only the Z axis and my guys spawn on top of buildings ten meters up when they could have just spawned half a meter the the left.  
Is there any way for me to manually adjust the location or perhaps alter the default code so its “adjustments” are better?

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [July 26, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863/2 "2022-07-26T17:55:06Z")

</div>

Hi Lowenfas,

Good question, I’m not aware of any easy way to make adjustments to that spawn logic.

I found a [thread](https://forums.unrealengine.com/t/adjust-spawn-on-x-or-y/416608/5) with what I think could be a good solution. General idea being certain probes/checks in the x/y plane that ‘walk out’ until a suitable location is found.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Lowenfas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lowenfas](https://forums.unrealengine.com/u/Lowenfas)\
**Post date:** [July 27, 2022, 9:55am UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863/3 "2022-07-27T09:55:40Z")

</div>

That solution is way more complicated than I was hoping for, but it is the exact solution for my problem. Thanks pal.

---

<div class="post-metadata">

**Author:** ![Lowenfas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lowenfas](https://forums.unrealengine.com/u/Lowenfas)\
**Post date:** [August 1, 2022, 12:55am UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863/4 "2022-08-01T00:55:35Z")

</div>

Actually that solution was not complicated at all and works pretty darn well.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [August 1, 2022, 5:15pm UTC](https://forums.unrealengine.com/t/can-you-manually-adjust-the-location-of-collision-handling-override/614863/5 "2022-08-01T17:15:59Z")

</div>

Hi again Lowenfas,

That’s great to hear, just an idea - but that system might make a good [snippet](https://dev.epicgames.com/community/snippets). (No Pressure!)

Cheers
