# On Custom Event

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

## Description

Event called when **Trigger Custom Event** is called with a matching _Identifier_ from the same script brain. You may only have one **On Custom Event** node (with the same identifier) per script brain.

## 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                                                                           |
| ---------- | ------ | -------- | ------------------------------------------------------------------------------------- |
| Identifier | String | Yes      | Fires when Event is triggered from the same event type using same Identifier as this. |

## Outputs

| Output      | Type        | Description                                                   |
| ----------- | ----------- | ------------------------------------------------------------- |
| Object      | Object      | Outputs an object if one is passed in through the Event.      |
| Number      | Number      | Outputs a number if one is passed in through the Event.       |
| Object List | Object List | Outputs an object list if one is passed in through the Event. |

\
\
**Contributors**

AddiCt3d 2CHa0s
