> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# rconsoleclear

> Clears the current Windows console screen buffer when a console window exists. If no console window exists, the call returns without doing anything.

Clears the current Windows console screen buffer when a console window exists. If no console window exists, the call returns without doing anything.

## Syntax

```lua theme={null}
rconsoleclear()
```

## Aliases

* `consoleclear`

## Example

Clear the current console screen when a console window exists.

```lua theme={null}
rconsolecreate()
rconsoleprint("Preparing output...")
rconsoleclear()
```
