> For the complete documentation index, see [llms.txt](https://docs.existent.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.existent.com/documentation/v0.0.2/resources/existent-api/index/existentumgwindowcomponent/openaswindow.md).

# OpenAsWindow

[ExistentDocumentation](/documentation/v0.0.2/resources/existent-api/index.md) > [ExistentUMGWindowComponent](/documentation/v0.0.2/resources/existent-api/index/existentumgwindowcomponent.md) > Open as Window

## Open as Window

Opens the given UMG user widget as/in a new, separate window.

!!! THIS SIMPLE SAMPLE METHOD ONLY SUPPORTS PROPERLY CREATING \*\*ONE\*\* WINDOW !!!\
If you want to create multiple windows with the same method, you need to add proper handling of them.

![](/files/gtR1IXZvrCbEsQ4lt6CW)

#### Inputs

|                                                                                     |                                                                                                                          |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>In</strong><br>Exec</p>                                                  |                                                                                                                          |
| <p><strong>Target</strong><br>Existent UMGWindow Component Object Reference</p>     |                                                                                                                          |
| <p><strong>Widget</strong><br>Existent Inspection Panel Widget Object Reference</p> | The UMG UserWidget to use as content for the new window                                                                  |
| <p><strong>Window Position</strong><br>Vector 2D Structure</p>                      | Where on screen should the new window be placed                                                                          |
| <p><strong>Window Size</strong><br>Vector 2D Structure</p>                          | Size of the new window                                                                                                   |
| <p><strong>Use Os Border</strong><br>Boolean</p>                                    | Use the OS native window border (=true) or the UE own one (=false)                                                       |
| <p><strong>Has Title Bar</strong><br>Boolean</p>                                    | Show the window title bar; window will have no title bar if set to "false"                                               |
| <p><strong>Drag Everywhere</strong><br>Boolean</p>                                  | Can the window be dragged by clicking and dragging anywhere in the window area (=true) or only via the tile bar (=false) |

#### Outputs

|                                     |   |
| ----------------------------------- | - |
| <p><strong>Out</strong><br>Exec</p> |   |
