So im using the “On Component Hit” function, now I want to do this - On FIRST hit, change color to red, on SECOND hit change color to green, and so on and so forth (Do specific things on number of times the component is hit)
1 Like
Simple counter with module to loop the counting (in this case 0->1->2->3->0->1…) and a switch:
Or if you just want to change colors then use the counter and an array of colors:
PS: I use a delay because the hit event will be firing as long you keep pressing against the mesh.
1 Like
Thanks lot!