setTriggerArea
Jump to navigation
Jump to search
trigger setTriggerArea [a, b, angle, rectangle]
Operand types:
trigger: Object
[a, b, angle, rectangle]: Array
Type of returned value:
Compatibility:
Version 1.86 required.
Description:
Defines the area controlled by the trigger. The area is rectangular or elliptic, the width is 2 * a, the height is 2 * b. It is rotated angle degrees.
Example:
trigger setTriggerArea [100, 50, 45, false]