# KEYPRESSED

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions/functions/keywords/keypressed
>
> KEYPRESSED keyword returns the key code of the last pressed key, to be used in Actions of the Key Pressed event.

This Keyword returns a _\<numeric>_, the key code of the last pressed key.

:::warning
You should use this Keyword in Actions of the [Key Pressed](https://doc.sysdevmobile.com/kalipso/6.1/documentation/controls/events/key-pressed.md) Event.
:::

:::info
See "Hardware Key Code" in [Devices ](https://doc.sysdevmobile.com/kalipso/6.1/documentation/environment/file/devices.md)option (tab "Keys").
:::
