prefabs, same scripts , same job but not together ....

Hi
I have prefab which doing something when I tap on it, but I want to have 3 exactly the same prefabs in my scene (I’am duplicating them) , doing exactly the same thing but only when I tap on each of them . Right now I’am taping one and all three starts moving.
How to resolve this ?

Thank you in advance

If you can post code it would help more. It all depends on how you are handling your touch input. If you are touching the object by the tag then it would trigger all the objects to move, if you are moving them based on touch from the collider then it should only move the one you are touch but you are uses 3 updates this way.

hi DexRobinson , I just give a different tag for each prefab and change if statements and it works just fine .:slight_smile: