> 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-specific-weapon.md).

# Get Is Holding Specific Weapon

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

## Description

Returns true if the Player has a particular Weapon instance in their 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                        |
| ------ | ------ | -------- | ---------------------------------- |
| Unit   | Object | Yes      | Which unit is holding the weapon.  |
| Weapon | Object | Yes      | The specific weapon to search for. |

## Outputs

| Output                     | Type    | Description                             |
| -------------------------- | ------- | --------------------------------------- |
| Is Holding Specific Weapon | Boolean | True if the unit is holding the weapon. |

\
\
**Contributors**

AddiCt3d 2CHa0s
