Toggle Emission color

i want to know how can i use a key input to toggle the emission color of a material of a object that’s not the player on and off please help

You can do this using material parameters. Material parameters are essentially variables that can be modified in Blueprints. I think your best bet would be to use a scalar parameter and an if statement to drive the emission color.

You need to create a dynamic material instance for your mesh, and then you can set parameters on that instance. I have attached a picture showing how:

Where’s the picture