---
title: "getWindowVisibility"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738689/getWindowVisibility"
format: markdown
---
# Description

Gets the visibility of a docking window. The docking window can be either a Shogun Post panel or a user window.

## Functional area

User Window

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `getWindowVisibility "windowName"` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `windowName` | string | yes | Name of the window to get visibility for. Can be one of aShogun Post panel or a user window. |

### Flags

None

## Return value

boolean

## Examples

```plaintext
// Get the visibility of the Attributes panel
boolean $isVisible;
$isVisible = `getWindowVisibility "Attributes"`;
print $isVisible;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [showWindow](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736492)