MouseCursor.Set
---------------

Sets the mouse cursor.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Utility](component_Utility.md) | [2.6](newinversion26.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "MouseCursor.Set"; CursorName ) 

**MBS**( **"MouseCursor.Set";** /\* Sets the mouse cursor. \*/  
**$CursorName**) /\* The name of cursor you'd like to set.e.g. "openHand" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| CursorName | The name of cursor you'd like to set. | "openHand" |

### Result

Returns "OK" or error message.

### Description

Sets the mouse cursor.  
As FileMaker loves to reset the cursor, you can't use it only in places where FileMaker does not reset it. Like in a script without pauses.  
  
Cursor names allowed on macOS:  
- arrow
- IBeam
- pointingHand
- closedHand
- openHand
- resizeLeft
- resizeRight
- resizeLeftRight
- resizeUp
- resizeDown
- resizeUpDown
- crosshair
- disappearingItem

With macOS 10.6 and newer you can also use this cursors:  
- operationNotAllowed
- dragLink
- dragCopy
- contextualMenu

Cursor names allowed on Windows:  
- AppStarting
- Arrow
- IBeam
- Hand
- OpenHand
- resizeLeftRight
- resizeUpDown
- crosshair
- operationNotAllowed
- Help
- SizeNESW
- SizeNS
- SizeNWSE
- SizeWE
- SizeAll
- UpArrow
- Wait

### Examples

Set hand cursor:

 MBS ( "MouseCursor.Set"; "openHand" )  
Set crosshair cursor:

 MBS ( "MouseCursor.Set"; "crosshair" )  
### See also

- [MouseCursor.Hide](MouseCursorHide.md)
- [MouseCursor.Show](MouseCursorShow.md)

### Blog Entries

- [MBS Filemaker Plugin, version 2.6pr3](https://www.mbsplugins.de/archive/2012-02-13/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 22nd April 2026

  
[MouseCursor.HideUntilMouseMoves](MouseCursorHideUntilMouseMoves.md) - [MouseCursor.Show](MouseCursorShow.md)

[HTML Version](MouseCursorSet.shtml)