LightZPosition Option

 

The LightZPosition option sets the light Z position. The OptionValue is set to any number. This option is only available when LightType is set to 1 or 2.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“Type”, “Light”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Light”)

object.Option(“LightZPosition”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the Z position for the light.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option("Module", "Light")

  CommandApi.Option ("LightXPosition", "3000")

  CommandApi.Do()

 

Used by: Light

 

 

See Also

Automation Model