> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/vehicles/set-vehicle-enterable-by-player.md).

# Set Vehicle Enterable By Player

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-c1b7c9b2c80f134131daf440d8fe0abac609d7e5%2Fset-vehicle-enterable-by-player.JPG?alt=media)

## Description

When Enterable By Player is set to false, all players will be prevented from entering the Vehicle. To prevent a specific player from driving or gunning, consider using a Trait: Vehicle Passenger Only.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input               | Type    | Required | Description                                                                    |
| ------------------- | ------- | -------- | ------------------------------------------------------------------------------ |
| Vehicle             | Object  | Yes      | Which vehicle to set enterable for.                                            |
| Enterable By Player | Boolean | Yes      | When true vehicle is enterable. Set to false to prevent players from entering. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| (none) |      |             |

\
\
**Contributors**

AddiCt3d 2CHa0s
