If you give both headlights the same material instance, you can control them at the same time, but all the other lights need to be independent, so not much of a win there.
You’re creating the material instances every time something changes
You only need to do this once. On begin play or in the construction script, and assign to variables, which you later change the parameters on. Get the reference from here




