> For the complete documentation index, see [llms.txt](https://edwn.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edwn.gitbook.io/documentation/documentation/api-reference/tables/input.md).

# Input

### Is Mouse Hovering Rectangle (bool) :

```lua
Input.IsMouseHoveringRect(pos: Vector2, size: Vector2)
```

### Get Mouse Position (Vec2) :

```lua
Input.GetMousePosition()
```

### Set Mouse Position (function) :

```lua
Input.SetMousePosition(pos: Vector2)
```

### Is Any Key Pressed (bool) :

```lua
Input.IsAnyKeyPressed()
```

### Is Key Pressed (bool) :

```lua
Input.IsKeyPressed(key: KeyEnum)
```

### Is Key Held (bool) :

```lua
Input.IsKeyHeld(key: KeyEnum)
```

### Set Cursor Style (function) :

<pre class="language-lua"><code class="lang-lua"><strong>Input.SetCursorStyle(style: CursorStyle)
</strong></code></pre>

### Get Cursor Style (CursorStyle) :

```lua
Input.GetCursorStyle()
```
