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

Sets 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)

|  |
| --- |
| `showWindow "windowName" showBoolean` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `windowName` | string | yes | Name of the window to set visibility for. Can be one of aShogun Post panel or a user window. |
| `boolVal` | boolean | yes | Boolean to show, hide, or toggle visibility of the docking window. |

### Flags

None

## Return value

void

## Examples

```plaintext
// Toggle the visibility of the Attributes panel
showWindow "Attributes" toggle;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

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