LightYPosition Option

 

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

object.Do() or object.DoOnce()

 

Example

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

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("LightYPosition", "7000")

  CommandApi.Do()

 

Used by: Light

 

 

See Also

Automation Model