Spawn Static mesh next to box

In the first image I’m trying to make the square static mesh spawn on the outside of the larger square box (no material).

I know i can get the max vectors from the bounding box of the main large square but unsure about the rest of the code.

any help would be much appreciated

Can you explain precisely or draw what you are trying to achieve? Almost everywhere is outside of the square.

1 Like

The black square is the starting base and the outside mesh is the tile mesh

You just have to break the problem in smaller problems and then it’s just a bit of math.

Make a line:

Use that to make a square from four lines:

Blueprint math looks more complicated than it really is.

Brilliant Ty, I’ll take a look when I’m able to. Thank you again!

Just checking that this will still work with the code I have and not replace it? As the original is supposed to be used as procedural when I add the rest to it