> ## Documentation Index
> Fetch the complete documentation index at: https://xrlive.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish Game Window Size

> Broadcast the current game window size to the operator viewport

## Blueprint node

**Target:** `xRLive Window Sync Subsystem`\
**Category:** `XRLIVE_WINDOW`

| Pin        | Type       | Description                        |
| ---------- | ---------- | ---------------------------------- |
| `New Size` | `Vector2D` | Width (X) and Height (Y) in pixels |

## When to call it

Call `Publish Game Window Size` whenever the game window size changes, and once on `Event BeginPlay` so the viewport has an initial value before the first resize.

```
Event BeginPlay
    ↓
Get Viewport Size → Publish Game Window Size

Event on window resize
    ↓
Get Viewport Size → Publish Game Window Size
```

## Companion nodes

| Node                   | Description                                                                                    |
| ---------------------- | ---------------------------------------------------------------------------------------------- |
| `Get Game Window Size` | Returns the last published size (cached). Use on viewport construct to seed the initial value. |
