---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# Web SDK - KeyboardAction

[Home](https://docs.rainway.com/reference/about) > [@rainway/web](web-sdk) > [KeyboardAction](./web-sdk-keyboardaction)

## KeyboardAction enum

A flag indicating whether a keyboard key went down or up.

<b>Signature:</b>

```typescript
export declare enum KeyboardAction 
```

## Enumeration Members

| Member  | Value          | Description |
| ------- | -------------- | ----------- |
| KeyDown | <code>0</code> |             |
| KeyUp   | <code>1</code> |             |