Beginner here, how do I program a button to change the color of lights upon interaction?

Hi everyone, absolute beginner in unreal engine here.

As stated in the title, I am trying to make button where, when the player presses it while looking at it, the color of the lights will change. I have two blueprint classes, BP_ActivationButton and BP_Lights. Here’s what I tried to do:



I used a blueprint interface to check if player’s line trace hits the button, and if it is, it fires off the custom event activatedColor. However, I’m facing some issues:
I put the custom event in BP_Light, and I don’t know how to reference that event in BP_ActivationButton.
I don’t know how to set up the event to make the color of BP_Light’s Light Function Material change.

Any help would be appreciated! Thanks.