Gets a Component attached to a GameObject and stores it in an Object variable.
NOTE: Set the Object variable's Object Type to get a component of that type. E.g., set Object Type to UnityEngine.AudioListener to get the AudioListener component on the camera.
Get a Light Component and then use Get Property to get the color of the light.
First make variables to store the Light Component and its color:
Then use Get Component with Get Property to get the color:
NOTE: You could just as easily use Set Property to set the light's color.