Window.IgnoresMouseEvents
-------------------------

Queries whether mouse events are ignored.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [1.1](newinversion11.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Window.IgnoresMouseEvents"; WindowRef ) 

**MBS**( **"Window.IgnoresMouseEvents";** /\* Queries whether mouse events are ignored. \*/  
**$WindowRef**) /\* Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window. | 0 |

### Description

Queries whether mouse events are ignored.  
On macOS you can disable mouse events for a given window. All Mouse Events will fall to the window behind.  
### See also

- [Overlay.IgnoresMouseEvents](OverlayIgnoresMouseEvents.md)
- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.SetIgnoresMouseEvents](WindowSetIgnoresMouseEvents.md)

This function is free to use.

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

  
[Window.HideScrollbars](WindowHideScrollbars.md) - [Window.IsFullScreen](WindowIsFullScreen.md)

[HTML Version](WindowIgnoresMouseEvents.shtml)