> 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/events/on-object-damaged.md).

# On Object Damaged

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-bb496327e0639f8f17e29b26c7268b184dac44c9%2Fon-object-damaged.png?alt=media)

## Description

Event called when the Object is damaged by any source. This event won't trigger when Players, or objects that don't have health values, are used as the object referenced.

## Node Type

Nodes fall into two basic categories: Data and Execution. This Execution node fires when something happens in the game that triggers it, and starts off the node string.

## Inputs

| Input  | Type   | Required | Description                         |
| ------ | ------ | -------- | ----------------------------------- |
| Object | Object | Yes      | Which Object to monitor damage for. |

## Outputs

| Output           | Type   | Description                                   |
| ---------------- | ------ | --------------------------------------------- |
| Attacking Object | Object | Which object is attacking this object.        |
| Damage Amount    | Number | How much damage the attack did on the object. |

\
\
**Contributors**

AddiCt3d 2CHa0s
