[**SixL server API**](../../README.md)

***

[SixL server API](../../README.md) / [world](../README.md) / WorldTrafficLightsMp

# Interface: WorldTrafficLightsMp

The traffic lights of `mp.world.trafficLights`.

## Properties

### locked

> **locked**: `boolean`

Whether the lights are locked on their state.

#### Remarks

Partial: reaches the clients and the scripts; the game's lights do not change (the game has no way to change them yet).

#### Example

```ts
mp.world.trafficLights.locked = true;
```

***

### state

> **state**: `number`

The state the lights show when locked.

#### Remarks

Partial: as `locked`.

#### Example

```ts
mp.world.trafficLights.state = 1;
```
