I have 10 different objects,
I made another object which is the "Light up", i copied and paste it 10 times, each one has a unique UID.
if i click object #1, then it lights up, but when you click object #2 it lights and object #1 still stays light up.
What i want is, when i click object #1, it lights up, and when I click object #2 it should light up, but then object #1 light up should be invisible.
i know how you can do it when the light up is 10 different objects, i want to know how can you do it when its same light up object but each one has a unique uid.
here is a picture
forgot to mention, Sprite1048 represents "Light up Object"
Sprite984 is object #1
and Sprite981 is object #2