Skip to main content

overwolf.windows.setTopmost

Overwolf APIs / overwolf / overwolf / windows / setTopmost

function setTopmost(
windowId: string,
shouldBeTopmost: boolean,
callback: CallbackFunction<WindowIdResult>,
): void;

Change the window's topmost status. Handle with care as topmost windows can negatively impact user experience.

Parameters

ParameterTypeDescription
windowIdstring-
shouldBeTopmostboolean-
callbackCallbackFunction<WindowIdResult>-

Returns

void