> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2.0/toolbox/events/keyboard/on-key-press.md).

# On Key Press

## Overview

![The On Key Press Node.](/files/-MIxaUbxfSkDuWlMuJtr)

**On Key Press** is used for triggering logic using key presses on a computer keyboard.

## Attributes

### Miscellaneous

| Attribute        | Type     | Description                                                                                             |
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------- |
| `Repeat Enabled` | **Bool** | Whether or not the **Event** is triggered while the key is *held* down, or just when initially clicked. |

### Event

| Attribute | Type          | Description                            |
| --------- | ------------- | -------------------------------------- |
| `Key`     | **Drop-down** | The key that Incari will *listen* for. |

## Outputs

| Output             | Type      | Description                                                                                                                                                                                                                                                               |
| ------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | Moves onto the next part of the **Logic** once the assigned key is pressed (or held).                                                                                                                                                                                     |
| `Is Alt`           | **Bool**  | Whether or not the **Alt** key was also pressed in combination with the assigned key.                                                                                                                                                                                     |
| `Is Ctrl`          | **Bool**  | Whether or not the **Ctrl** key was also pressed in combination with the assigned key.                                                                                                                                                                                    |
| `Is Shift`         | **Bool**  | Whether or not the **Shift** key was also pressed in combination with the assigned key.                                                                                                                                                                                   |
| `Is Repeated`      | **Bool**  | Indicates whether this is a repeated/subsequent firing of the **Event** (`true`) or the initial time it is fired (`false`). If the `Repeat Enabled` **Attribute** is enabled, the output will always be `false` because the **Event** is only fired on the initial press. |

## See Also

* [**Events**](/incari-studio/2.0/toolbox/events.md)
* [**Keyboard**](/incari-studio/2.0/toolbox/events/keyboard.md)
* [**On Key Release**](/incari-studio/2.0/toolbox/events/keyboard/on-key-release.md)
