## Human-like Cursor movement

Camoufox has built-in support for human-like cursor movement. The natural motion algorithm was originally from [riflosnake's HumanCursor](https://github.com/riflosnake/HumanCursor), but has been rewritten in C++ and modified for more distance-aware trajectories.

---

## Properties

| Property         | Type   | Description                                                         |
| ---------------- | ------ | ------------------------------------------------------------------- |
| `humanize`         | bool   | Enable/disable human-like cursor movement. Defaults to False.       |
| `humanize:maxTime` | double | Maximum time in seconds for the cursor movement. Defaults to `1.5`. |
| `humanize:minTime` | double | Minimum time in seconds for the cursor movement.                    |
| `showcursor`       | bool   | Toggles the cursor highlighter. Defaults to True.                   |

> [!NOTE]
> The cursor highlighter is **not** ran in the page context. It will not be visible to the page. You don't have to worry about it leaking.

---

## Demo

Here is a demo of the cursor highlighter. The testing page for this can be found [here](https://camoufox.com/tests/buttonclick).

<video src="../../static/humancursor.mp4" autoplay loop muted style="padding-top: 10px; filter: drop-shadow(0 0 8px rgba(0,0,0,0.5));"></video>
