> For the complete documentation index, see [llms.txt](https://docs.akiraghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akiraghost.com/product-guides/akira-jni/features/misc/lag-range.md).

# Lag Range

The *Lag Range* module delays your movement packets when an enemy is within a set distance, making your server-side position freeze while you move freely on the client. When released, you teleport to your actual position. Best used in short bursts with conservative delay values.

## Mode

Controls how the keybind behaves: **Hold** keeps the module active only while the key is held, while **Toggle** flips it on or off with each press. Default **Toggle**.

## Activation Distance

Lag Range only activates when at least one enemy is within this many blocks, from `1.0` to `10.0 blocks` (default `6.0 blocks`).

## Timing

* **Delay** — random duration that movement packets are buffered before being sent to the server, from `200` to `2000 ms` (default `100 - 200 ms`).
* **Cooldown** — random minimum gap enforced between consecutive delay cycles, from `100` to `2000 ms` (default `500 - 1000 ms`), avoiding a continuous freeze.

## Visual indicators

* **Show Server Position** — draws a 3D box at the position the server currently believes you're at, so you can see the offset while lagging. On by default. **Box Line Width** sets the outline's thickness, from `1.0` to `5.0` (default `2.0`).
* **Show Timer** — displays a progress bar indicating how far through the current delay cycle you are. On by default.

## Conditions

Lag Range only delays packets when all selected conditions are met. Leave all unchecked for no restrictions.

* **Weapon Only** — only while holding a weapon
* **Clicking Only** — only while actively clicking
* **Standing**, **Sneaking**, **Walking**, **Sprinting** — restrict to a movement state
* **On Ground** / **Air** — restrict to grounded or airborne
* **Eating** — only while eating
* **In Liquid** — only while in water or lava

## Auto Disable

Turns Lag Range off automatically when any selected event happens: **On Death**, **On World Switch**, **On Server Leave**, **On Teleport**, or **On LagBack**.
