Vehicle::isDoorFullyOpen
Syntax
```js vehicle.isDoorFullyOpen(doorIndex); ```
Required Arguments
- doorIndex: <font color='red'><b>int</b></font>
Doors
- 0 = Front Left Door
- 1 = Front Right Door
- 2 = Back Left Door
- 3 = Back Right Door
- 4 = Hood
- 5 = Trunk
- 6 = Trunk2
Return value
- <font color='green'>Boolean</font>
Example
```js let vehicle = mp.players.local.vehicle;
if (vehicle.isDoorFullyOpen(1)) { // If the Front left door is fully open vehicle.setDoorShut(1, false); // Close it gently. } ```