> 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-is-passenger-in-vehicle.md).

# Get Is Passenger In Vehicle

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

## Description

Returns true if the Unit is a passenger in their vehicle. Drivers. gunners and boarding units do not count as passengers and will return false.

## Node Type

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

## Inputs

| Input | Type   | Required | Description          |
| ----- | ------ | -------- | -------------------- |
| Unit  | Object | Yes      | Which unit to check. |

## Outputs

| Output       | Type    | Description                                |
| ------------ | ------- | ------------------------------------------ |
| Is Passenger | Boolean | True if unit is a passenger, false if not. |

\
\
**Contributors**

AddiCt3d 2CHa0s
