Make objects flash white

Hello, I am making a space game, and I want the enemies to flash white. I am recreating this game I made a while ago: https://scratch.mit.edu/projects/639570712/

If you play the game, you can see that when a chicken is hit, it flashes white for a brief moment.
How could I recreate this with a mesh?

I have a Chicken Mesh, and I tried to make it flash white earlier but I couldn’t change the color or material, even if I removed the texture.

If anyone knows how to do this, any help would be greatly appreciated.
Thank you for reading.

Have you tried using a “Highlight” instance? Set the fillcolor to all white and the transparency to 0

You can insert a Hightlight inside of the part, make the Hightlight’s FillTransparency to 0. Afterwards, you can make a script where if the object is damaged, it will make the FillTransparency to 0.5 (Or any number you wish) temporarily before quickly going back to 0.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.