RemoteControl.MoveMouse
-----------------------

Moves the mouse cursor.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [RemoteControl](component_RemoteControl.md) | [2.8](newinversion28.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "RemoteControl.MoveMouse"; X; Y ) 

**MBS**( **"RemoteControl.MoveMouse";** /\* Moves the mouse cursor. \*/  
**$X**; /\* New x position of the mouse.e.g. 500 \*/   
**$Y**) /\* New y position of the mouse.e.g. 500 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| X | New x position of the mouse. | 500 |
| Y | New y position of the mouse. | 500 |

### Result

Returns OK on success.

### Description

Moves the mouse cursor.  
### See also

- [RemoteControl.ClickMouse](RemoteControlClickMouse.md)
- [RemoteControl.MouseX](RemoteControlMouseX.md)
- [RemoteControl.MouseY](RemoteControlMouseY.md)

### Example Databases

- [RemoteControl/Move Mouse](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/RemoteControl/Move%20Mouse.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[RemoteControl.MouseY](RemoteControlMouseY.md) - [RemoteControl.PressCommandKey](RemoteControlPressCommandKey.md)

[HTML Version](RemoteControlMoveMouse.shtml)