How to prevent a structure from getting placed down if it is to close to another structure?

How do i to prevent my structure from getting placed down if it is to close to another structure?
I been trying to look at the setting but cant see to find anything.

My object is placed on the gound, uses no snaping and i want to prevent my object from getting placed to close to another structure. min 5 meters from next object.
Any idea which setting im looking for or how i go about creating a function that does this.

Thanks

In the structure BP there is an option called “exclude in structures radius”. That might be the option you are looking for.

Awesome.
was a bit confused with the name.

Works like a charm now :smiley: