The TransformZRotation option changes the Z rotation value for a Transform module. The OptionValue is a number, indicating the amount of rotation to perform in the Z direction.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “Transform”)
object.Option(“TransformZRotation”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the Z rotation value for a Transform module.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Transform")
CommandApi.Option ("TransformZRotation", "10")
CommandApi.Do()
Used by: Transform
See Also