Skip to main content

Vehicle::setIndicatorLights

Sets the turn signal enabled for a vehicle. Set turnSignal to 1 for left light, 0 for right light.

Syntax

```js vehicle.setIndicatorLights(turnSignal, toggle); ```

Required Arguments

  • turnSignal: int
  • toggle: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also