# OpenAsWindow

[ExistentDocumentation](https://gitlab.com/lightgarden-studios/existent-documentation/-/blob/v0.1.0/resources/BPNodes/index.md) > [ExistentUMGWindowComponent](/documentation/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/GcbGCwUOT7RDPeDrO5NF)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.existent.com/documentation/resources/existent-api/index/existentumgwindowcomponent/openaswindow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
