# OpenAsWindow

[ExistentDocumentation](https://docs.existent.com/documentation/v0.0.2/resources/existent-api/index) > [ExistentUMGWindowComponent](https://docs.existent.com/documentation/v0.0.2/resources/existent-api/index/existentumgwindowcomponent) > 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.

![](https://1025885933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjTXidr233g5QQ4gNDcFu%2Fuploads%2Fgit-blob-7feb041789549abb9e3f3dea4feb929433e660a9%2Fnd_img_OpenAsWindow.png?alt=media)

#### 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> |   |
