> 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/inventory/get-player-holding-item.md).

# Get Player Holding Item

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

## Description

Returns the player who has the Object in their inventory. Returns an invalid reference if the Object is not in any player'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      | The object to check if any player is holding it. |

## Outputs

| Output | Type   | Description                                           |
| ------ | ------ | ----------------------------------------------------- |
| Player | Object | Outputs player that is holding the object or invalid. |

\
\
**Contributors**

AddiCt3d 2CHa0s
