Updating actor properties in the editor (On stop)

I have a LevelGrid class. It’s supposed to spawn a X on Y matrix of actors on level. Say, it starts spawning at some location and after setting X number and Y number of actors (which are variables of blueprint) it goes through 2 loops and generating a matrix while shifting actors so result looks like grid.

That works well if Play happening, but here’s the thing. I want matrix to be generated before Play is pressed so I can visually modify the result (change properties of some actors in grid for example).

Obvious solution would be using a construction script with pre-set matrix dimension and location, but these properties are not fixed and I want to spawn a LevelGrid and dynamically change dimensions and locations before play without going in construction script and changing properties every time.

Cut story short - I need tick to be applied even when viewport is not playing but stopped. How is that possible?

Okay, I’ve solved the problem and it was pretty simple.
Construction script is updated every time actor parameters are changed.
I’ve made 2 loops to make a 2D array and every time I change dimensions in actor properties, it’s automatically visually rebuilt.