> 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/autotool.md).

# AutoTool

It can wait before switching and can return to the hotbar slot you used before the switch.

## Choose a tool

`Hover delay` sets how long AutoTool waits after you target a block. A short delay keeps the switch quick. A delay of `2` to `3 ticks` gives the change a little time before it happens, while `0` switches without waiting.

## Stop unwanted switches

`Disable on interactable` prevents tool changes when you target a chest, door, button, or another interactable block. `Disable while holding blocks` pauses the module while you hold a placeable block. `Disable while right click` pauses it during right-click actions.

`Enable when holding tools` makes AutoTool run only when you already hold a tool. `Enable when sneaking` limits it to sneaking. `Require mouse down` changes tools only while you hold the mine button.

## Control the slot change

`Spoof item` sends the tool change to the server without changing the item shown in your hand on the client. `Swap to previous slot` returns to the hotbar slot you used before AutoTool selected the tool.
