# Get Unit Holding Item

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-8cbab2ff8702eeb473cdb15fdd8d62308f89fa4d%2Fget-unit-holding-item.png?alt=media)

## Description

Returns the unit who has the Object in their inventory. Returns an invalid reference if the Object is not in any unit's inventory.

## Node Type

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

## Inputs

| Input  | Type   | Required | Description                                      |
| ------ | ------ | -------- | ------------------------------------------------ |
| Object | Object | Yes      | Which object to check if any unit is holding it. |

## Outputs

| Output | Type   | Description                                      |
| ------ | ------ | ------------------------------------------------ |
| Unit   | Object | The unit that is holding the object, or invalid. |

\
\
**Contributors**

AddiCt3d 2CHa0s
