> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/player/safewalk.md).

# SafeWalk

It can move you back from the edge or use a sneak state, which makes it useful while bridging and when you need to stop at a ledge.

## Choose how it protects the edge

`Mode` changes the edge behavior:

* `Edge` moves your position away from the edge on the client.
* `Sneak (Keybind)` simulates holding the sneak key.
* `Sneak (State)` sets the sneak state directly.
* `Scaffold` uses a mode intended for [Scaffold](/scripting/player/scaffold.md).

`Edge tolerance` controls how close you can get before SafeWalk acts. `Low`, `Medium`, `High`, and `Very High` are available. Higher tolerance values act earlier, which gives more room at the edge but can make the sneak happen too soon and look less natural.

`Minimum pitch` sets the minimum downward look angle. A value of `70` means SafeWalk only acts when you are looking well down toward the blocks.

{% hint style="success" %}
**Legit setup**

Start with `Mode: Sneak (Keybind)`, `Minimum pitch: 70`, and `Edge tolerance: Medium`. `Very High` gives more room but is more noticeable. Enable `Blocks only` and `Disable on forward` to keep SafeWalk focused on bridging.
{% endhint %}

## Limit when it can act

`Blocks only` makes SafeWalk protect you only while you hold a block. `Disable on forward` turns it off while you hold the forward key, so you can intentionally walk over an edge.

`Only while right clicking` limits SafeWalk to right-click actions. `Unsneak delay` sets how long it waits before releasing sneak after you move away from the edge.

## Related modules

* [Scaffold](/scripting/player/scaffold.md)
* [Tower](/scripting/player/tower.md)
