Overlay.GetHasShadow
--------------------

Queries whether this window has a shadow.

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

MBS( "Overlay.GetHasShadow"; OverlayRef ) 

**MBS**( **"Overlay.GetHasShadow";** /\* Queries whether this window has a shadow. \*/  
**$OverlayRef**) /\* The overlay window reference number.e.g. $overlay \*/ 

### Parameters

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

### Result

Returns 1, 0 or error.

### Description

Queries whether this window has a shadow.  
Returns 1 if shadow is there, and 0 if no shadow is used.  
### See also

- [Overlay.SetHasShadow](OverlaySetHasShadow.md)

Created 22nd January 2024 , last changed 24th January 2024

  
[Overlay.Create](OverlayCreate.md) - [Overlay.GetHeight](OverlayGetHeight.md)

[HTML Version](OverlayGetHasShadow.shtml)