I’m trying to understand how Any Component works. I’m trying to make a slider that moves a sprite along the X axis.
I tried this code which gets an error that a String is given when a Sprite??? is expected or something like that. The disconnected code below works but I don’t want to have to list that for every sprite in the list. What am I missing? I though Any Component was supposed to work to avoid a lot of excess code. Is there a way to use it in a way that says do this action for whichever sprite is visible or enabled? Thanks!