Skip to main content

overwolf.windows.setPosition

Overwolf APIs / overwolf / overwolf / windows / setPosition

Call Signature

function setPosition(
windowId: string,
properties: SetWindowPositionProperties,
callback: CallbackFunction<Result>,
): void;

Change window position (see SetWindowPositionProperties))

Parameters

ParameterTypeDescription
windowIdstringThe id or name of the window
propertiesSetWindowPositionPropertieswhere to place window
callbackCallbackFunction<Result>Called with the result of the request.

Returns

void

Call Signature

function setPosition(
properties: SetWindowPositionProperties,
callback: CallbackFunction<Result>,
): void;

Change this window position (see SetWindowPositionProperties))

Parameters

ParameterTypeDescription
propertiesSetWindowPositionPropertieswhere to place window
callbackCallbackFunction<Result>Called with the result of the request.

Returns

void