How can I make my character blink after hitting a certain object?

I’m trying to make my character “Player” blink after hitting an obstacle called “movingWall” I don’t know how to do this however I’m pretty new at programming, any and all help will be very much apreciated

ok im guessing by blink you mean actulay blinking so what i would do is when you collide with the wall it turns off your camera

void OnCollisonEnter(collison col)
{
   if (col.tag = "wall")
   {
       camera.setactive(false);
   }
}

this is just psuedo code so dont just copy paste

Hey .

Check out this answer :