> 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-is-holding-weapon-type.md).

# Get Is Holding Weapon Type

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

## Description

Returns true if the Player has a weapon in their inventory that matches the Weapon Type

## 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 if holding the weapon type. |
| Weapon Type | Weapon Type | Yes      | The weapon type to check if player is holding.  |

## Outputs

| Output                 | Type    | Description                                    |
| ---------------------- | ------- | ---------------------------------------------- |
| Is Holding Weapon Type | Boolean | True if unit is holding a weapon of this type. |

\
\
**Contributors**

AddiCt3d 2CHa0s
