How Do I Make A Material Change Color Every Time I Touch The Object?

Okay, I want to make an object where, every time the player comes in contact with said object, the texture on the object changes color. Can someone please tell me how to set something like this up? I have it working to where it changes color when I touch it once, but not every time.

Watch this:

And ask uncle google for: ā€œunreal dynamic material instanceā€ for more tuts.

For changing colors every time player is close:

  • use events of begin overlap and end overlap
  • set different colors for each event. like red begin overlap, green for end overlap
1 Like