> 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/resources/existent-api/index/existentumgwindowcomponent/openaswindow.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
