> For the complete documentation index, see [llms.txt](https://wiki.gennario.eu/fortunewheel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.gennario.eu/fortunewheel/wheels/hitbox-setup-interaction-blocks.md).

# Hitbox Setup (Interaction Blocks)

{% hint style="info" %}
You can set Lever or Button as a interactable block
{% endhint %}

## version <1.0.3 - **Tutorial: (Blocks)**

1. Build barriers or any other transparent interactable structure around your wheel
2. Run command: **/fw interaction-edit \<wheel>**
3. You will get to the editor of the wheel.
4. (If you have already setuped some blocks) \ <mark style="color:green;">Green</mark> particles = already setuped block\ <mark style="color:yellow;">Yellow</mark> particles = block to add on interact\ <mark style="color:red;">Red</mark> particles = block to remove on interact\ <mark style="color:blue;">Blue</mark> particles = box selection (advanced)
5. Select blocks you want to set using suggestions in the chat.
6. Then run command: **/fw interaction-edit**
7. **You are done!** Now you can spin the wheel with interaction.

## Tutorial: (Entity/npc/command)

1. Select your dispatch provider (entity, npc, rotatinghead, executable block)
2. Add command as a console sender to your provider: **/fw force-interact \<wheel> \<player>**
3. **You are done!** Now you can spin the wheel with your provider.

## Slime Hitbox (ADDED 1.0.3)

From now, every wheel have it's own hitboxes made of slime entites. This feature is automatically enabled on every new wheel created from plugin/command.

If you want enable/disable this feature or add it to the wheel from older versions use this line at the end of wheel yml file.

```yaml
slime-hitbox: true/false
```

{% hint style="success" %}
Slime Hitboxes can be combinated with interaction blocks
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.gennario.eu/fortunewheel/wheels/hitbox-setup-interaction-blocks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
