User interface components, and how to make them?

:wave: Hey!


I’ve been wondering how exactly to manage my interface, and I’ve come up with using a components system (with modules).

I am wondering how exactly to go about this - right now my current idea would be to loop through my interface and if it finds something, such as a TextButton, it will require a module.

The module will handle animations, input, etc.

:information_source: I was looking into this reply: How to automate repetitive UI animations - #2 by 7kayoh


:question: Would there be a better way to go about this?

looping through it seems to be the only way of doing it for your case
it shouldnt be slow so i dont really see the problem with doing it
otherwise you can just index every single button and run some function you have, that also works