Best way to get a window's dimensions and position

Reading the docs, I could find two ways to get a window’s dimensions (or properties in general): overwolf.windows.getCurrentWindow and overwolf.windows.getDeclaredWindow.

Is there a recommended way to get a window’s properties (one of the above or maybe a third one)?

Specifically, something which reliably gives me the window’s height, width, top and left properties, right after it was moved and/or resized via overwolf.windows.changePosition and/or overwolf.windows.changeSize.

Top and left relative to a game window of course.

Thanks

PS: it’d be nice if overwolf.windows.changePosition and/or overwolf.windows.changeSize callbacks returned the window’s new (top, left) and (width, height) respectivelly (or maybe a reference to the entire window object with the updated values).

Hi,

I will answer your questions later today. Thanks.

Friendly reminder :slight_smile:.