# Highlights

Highlights are a custom way to create more complex visual selection boxes, this is a client only operation and does not actually affect where the player can hit so it is important that the block is still within a normal hit box.

Currently there are 2 ways to bind a highlight to a block, through code using the <mark style="color:orange;">`Highlightable`</mark> interface on your block or using the json API which can also be used by non mod authors to change a hit box depending on a new model for a block.

Highlights are a client asset so they are stored in your assets folder under the namespace <mark style="color:blue;">`resourcefullib/highlights`</mark>

Highlight jsons are either a highlight itself for a highlight state, just like how a block has a blockstate json and a model json.

To read more click one of the options below.

{% content-ref url="/pages/84n3PPrXxHOtBnIm7CZN" %}
[Highlight](/welcome/highlights/highlight.md)
{% endcontent-ref %}

{% content-ref url="/pages/vcms91cYpoSrq6NqyCdm" %}
[Highlight State](/welcome/highlights/highlight-state.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://lib.wiki.teamresourceful.com/welcome/highlights.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
