RemoteControl.MouseY
--------------------

Queries current position of the mouse cursor on screen.

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

MBS( "RemoteControl.MouseY" ) ### Parameters

none

### Result

Returns y coordinate.

### Description

Queries current position of the mouse cursor on screen.  
Result is in pixels on Windows and in points on macOS. See [Screen.Scale](ScreenScale.md) to convert between pixels and points.  
  
If you need to know which mouse button made the last click, please check [EventMonitor.LastMouseClickButton](EventMonitorLastMouseClickButton.md) function.  
### See also

- [EventMonitor.LastMouseClickButton](EventMonitorLastMouseClickButton.md)
- [EventMonitor.LastMousePositionY](EventMonitorLastMousePositionY.md)
- [RemoteControl.ClickMouse](RemoteControlClickMouse.md)
- [RemoteControl.MouseX](RemoteControlMouseX.md)
- [RemoteControl.MoveMouse](RemoteControlMoveMouse.md)
- [Screen.Scale](ScreenScale.md)

### Example Databases

- [DynaPDF/Click Points](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Click%20Points.shtml#1ScriptAnchor_)
- [GraphicsMagick/Crop with Clicks](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/Crop%20with%20Clicks.shtml#5ScriptAnchor_)
- [GraphicsMagick/Pick color from image via Screenshot](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/Pick%20color%20from%20image%20via%20Screenshot.shtml#1ScriptAnchor_)
- [RemoteControl/Move Mouse](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/RemoteControl/Move%20Mouse.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 5.2pr1](https://www.mbsplugins.de/archive/2015-06-01/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2024, Seite 9](https://filemaker-magazin.de/neuigkeit/4252-Appetithappen-FMM_202401)
- [Ausgabe 5/2023, Seite 23](https://filemaker-magazin.de/neuigkeit/4241-Appetithappen-FMM_202305)

This function checks for a license.

Created 18th August 2014 , last changed 7th April 2022

  
[RemoteControl.MouseX](RemoteControlMouseX.md) - [RemoteControl.MoveMouse](RemoteControlMoveMouse.md)

[HTML Version](RemoteControlMouseY.shtml)