Visual feedback when clicking on an object

Hey guys,

I got 2 cubes in my scene which got each a tag on them. If one of them gets hit it prints “White cube got hit”. Now I want to add something: if one of those cubes get hit, I want to get visual feedback (cube gets a little bit bigger for 0.5 seconds or changes color for a short time). But I don’t know how to implement that. Hope u guys can help :slight_smile:

you could use a coroutine to scale the object, wait a bit and return its normal scale.