> 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-unit-vehicle.md).

# Get Unit Vehicle

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

## Description

Returns the parent vehicle if the Unit 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          |
| ----- | ------ | -------- | -------------------- |
| Unit  | Object | Yes      | Which unit to check. |

## Outputs

| Output  | Type   | Description                          |
| ------- | ------ | ------------------------------------ |
| Vehicle | Object | Outputs a vehicle if unit is in one. |

\
\
**Contributors**

AddiCt3d 2CHa0s
