> 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/get-player-vehicle.md).

# Get Player Vehicle

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

## Description

Returns the parent vehicle if the Player is seated in one

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input  | Type   | Required | Description                          |
| ------ | ------ | -------- | ------------------------------------ |
| Player | Player | Yes      | Which player to check for a vehicle. |

## Outputs

| Output  | Type   | Description                                                    |
| ------- | ------ | -------------------------------------------------------------- |
| Vehicle | Object | Outputs a vehicle or nil if player is not seated in a vehicle. |

\
\
**Contributors**

AddiCt3d 2CHa0s
