Overlay.GetTop
--------------

Queries Y coordinate of a window.

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

MBS( "Overlay.GetTop"; OverlayRef ) 

**MBS**( **"Overlay.GetTop";** /\* Queries Y coordinate of a window. \*/  
**$OverlayRef**) /\* The overlay window reference number.e.g. $overlay \*/ 

### Parameters

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

### Result

Returns number or error.

### Description

Queries Y coordinate of a window.  
See also [Overlay.GetLeft](OverlayGetLeft.md), [Overlay.GetWidth](OverlayGetWidth.md) and [Overlay.GetHeight](OverlayGetHeight.md).  
### See also

- [Overlay.GetHeight](OverlayGetHeight.md)
- [Overlay.GetLeft](OverlayGetLeft.md)
- [Overlay.GetTag](OverlayGetTag.md)
- [Overlay.GetTitle](OverlayGetTitle.md)
- [Overlay.GetTopMost](OverlayGetTopMost.md)
- [Overlay.GetWidth](OverlayGetWidth.md)
- [Overlay.SetTag](OverlaySetTag.md)

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

  
[Overlay.GetTitle](OverlayGetTitle.md) - [Overlay.GetTopMost](OverlayGetTopMost.md)

[HTML Version](OverlayGetTop.shtml)