## LightRig.Light

### Description

Returns the Light object of this rig.

### C# Syntax

    // get accessor

    Light rtn = LightRig.Light;

### Examples

#### VBScript Example

    set oRoot = application.activeproject.activescene.root

    set rig = oRoot.addlightrig( "Spot" )

    Application.LogMessage rig & ".light = " & rig.light

    Application.LogMessage rig.light & ".interest = " & rig.light.interest