> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/toolkit-for-ui-and-ux/unity/components/mouse-over-cursor-state.md).

# Mouse Over Cursor State

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

{% hint style="info" %}
Part of the [Cursor System](/old-kb/toolkit-for-ui-and-ux/unity/learning/core-concepts/cursor-tools.md) of the UX Foundation and UX Complete assets
{% endhint %}

Indicates the cursor state to be applied when the mouse enters a RectTransfrom&#x20;

## Definition

### Fields and Attributes

<table><thead><tr><th width="150">Type</th><th width="182.41271262309755">Name</th><th width="370.2">Notes</th></tr></thead><tbody><tr><td>CursorState</td><td>stateOnEnter</td><td>The state to apply when the pointer enters the object</td></tr><tr><td>bool</td><td>holdOnMouseDown</td><td>Should the state be preserved so long as the mouse button is held down.</td></tr></tbody></table>
