Overlay.GetMouseClickScriptName
-------------------------------

Queries the script to run on a mouse click.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Overlay](component_Overlay.md) | [14.1](newinversion141.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Overlay.GetMouseClickScriptName"; OverlayRef ) 

**MBS**( **"Overlay.GetMouseClickScriptName";** /\* Queries the script to run on a mouse click. \*/  
**$OverlayRef**) /\* The overlay window reference number.e.g. $overlay \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| OverlayRef | The overlay window reference number. | $overlay |

### Result

Returns text or error.

### Description

Queries the script to run on a mouse click.  
### See also

- [Overlay.GetMouseClickEvaluate](OverlayGetMouseClickEvaluate.md)
- [Overlay.GetMouseEnterScriptName](OverlayGetMouseEnterScriptName.md)
- [Overlay.GetMouseExitScriptName](OverlayGetMouseExitScriptName.md)
- [Overlay.SetMouseClickScript](OverlaySetMouseClickScript.md)

Created 15th February 2024 , last changed 15th February 2024

  
[Overlay.GetMouseClickEvaluate](OverlayGetMouseClickEvaluate.md) - [Overlay.GetMouseEnterEvaluate](OverlayGetMouseEnterEvaluate.md)

[HTML Version](OverlayGetMouseClickScriptName.shtml)