LightXPosition Option

 

The LightXPosition option sets the light X 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(“LightXPosition”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

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

 

  CommandApi.Construct ("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: Light

 

 

See Also

Automation Model