Variabilize Component Name with Text

Hi there,

I am trying to shorten my code by updating my labels with a loop.
Therefore I set up a counter and named the labels so that I could use that counter (eg. Label1, Label2, Label3…)

So I would like to turn this:
image

into this:
image

“Zwischeni” would be the counter.

The component however doesn’t allow text to attach.

Is this even possible?

With searching I found only similar problems which didn’t help me.

Any tipps would be appreciated.

Best Regards

You have to initialize a global list with the labels you wish to use. For example

Result

1 Like

That works perfect and will save me a lot of blocks. And is even fairly easy :smiley:
Thank you for super fast help!

Just for information the block I ended up with:
image

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.