Access to an item by its index? | Intech Studio
💬 general Grid

Access to an item by its index?

Guillaume
Guillaume · · 6 replies

Simple question, might have missed it in the doc, sorry.

How do I access an other element by its index?
I.e., I want to inspect the values of an other button / fader.

Replies (6)

Guillaume Guillaume ·

on line 5, first I check if my current slider is at max value.
I also want to check if an other slider is at max value.
How do I get a pointer to the Grid object that contains all items?

kkerti kkerti ·

element[INDEX]:potmeter_max()

Guillaume Guillaume ·

I had read this page, but missed it

Guillaume Guillaume ·

thank you

Guillaume Guillaume ·

and I suggest to give a paragraph with a title to the highlighted part, that would have helped me find it:

image.png
Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →