# CURSOR

## Constants Summarized

| Type                                                                         | Name                               | Summary                                                        |
| ---------------------------------------------------------------------------- | ---------------------------------- | -------------------------------------------------------------- |
| [Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) | [DEFAULT\_CURSOR](#default_cursor) | Constant used for setting the roll over cursor for components. |
| [Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) | [HAND\_CURSOR](#hand_cursor)       | Constant used for setting the roll over cursor for components. |

## Constants Detailed

### DEFAULT\_CURSOR

Constant used for setting the roll over cursor for components.\
Use this for setting the roll over cursor to the default (dependent\
on the OS and the L\&F).

**Type**\
[Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number)

**Sample**

```js
var label = form.newLabel('Move the mouse over me', 10, 10, 200, 200);
label.rolloverCursor = SM_CURSOR.DEFAULT_CURSOR;
```

### HAND\_CURSOR

Constant used for setting the roll over cursor for components.\
Use this for setting the roll over cursor to a hand.

**Type**\
[Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number)

**Sample**

```js
var label = form.newLabel('Move the mouse over me', 10, 10, 200, 200);
label.rolloverCursor = SM_CURSOR.HAND_CURSOR;
```
