modulate emission of a material

Good morning all,

I would like to modulate the percentage of light emission of a material. The goal is for a sphere to emit more light if it is brought closer to another sphere.

  • I already created an emissive material with a custom variable named “emission”.
  • I also created a dynamic material (in the construction graph) following a small basic tutorial well known for that.

But now, I do not find the function that allows to recover this custom variable (“emission”) in the event graph of my sphere (which contains the luminous material).

Can you help me on this subject?

Thanks again,