Difference between modifie value with Slide, Write, Set in BP

Hello Everyone,
I am currently working on this :

And trying to keep the “Cubes Instances” at the exact length.

For that, this is what i’m doing :

““WHY TWO TIMES ??””

well, when I’m doing it only 1 time, I still had some extras uniques index
Doing it 2 times removes the extras.

BUT

Here, is, the “whaaaaat”.

When I change the value of Nb Cube Per Line SLIDING,
It’s working as intended (not exactly, the second clean is called only when I released the mouse click…)

If I change the value of Nb Cube Per Line just by writing,
It only “clean” one time.

If I change the value of Nb Cube Per Line with BP, like this :
image

It doesnt care at all. And doesnt clean.

The Questions :

  • How stick to unique index with minimum length in the Array ?
  • Why there is a difference between Slide, Write and Set in BP ?

Have a nice day :slight_smile: