Creating a grid, spawning from center

I hope someone can help, I have a blueprint that already creates a grid perfectly but it spawns it from the corner which means when I increase the amount of cubes they add on to the right and above.

I want the origin to be in the center and for the new cubes to spawn all around. I think what I need to do is mirror what I have on the X and then Y axis? Or maybe there’s a simpler adjustment to be made. Can anyone show me?

image

You need to populate it to negative values as well.
→ Right before the make vector you could subtract (Grid X * Tile X Size)/2 and for Y the same. Not super performant but the easiest solution.

2 Likes

As above, also some examples here:

2 Likes

Also:

Produces:

3 Likes