# 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="highlights/highlight" %}
[highlight](https://lib.wiki.teamresourceful.com/welcome/highlights/highlight)
{% endcontent-ref %}

{% content-ref url="highlights/highlight-state" %}
[highlight-state](https://lib.wiki.teamresourceful.com/welcome/highlights/highlight-state)
{% endcontent-ref %}
