Volumetric cloud lighting position

Hi everyone. I’m studying volumetric cloud and I saw on YouTube that you can add Lightning effect to the material to create a flashing light effect. I tried to find some information about it but I couldn’t find any. Can anyone help me? And also, is there any way to convert the local position of the Lightning effect to the world position?