New window behavior - forward clicks on window to game

I would like a way to have a window receive the user events and also forward them to the game (so a bit like clickthrough , but the window should also receive the events).

My use case is that I want to show some information when the user mouses over an in-game element, while keeping the standard game behavior for mouse over.

Hi, and thanks for the feedback.

We will discuss the matter internally, and we will update you here.
It might take up to a few days.

Thanks.

itay suggested trying overwolf.windows.setWindowStyle("index", overwolf.windows.enums.WindowStyle.InputPassThrough, console.log), which seems to do the trick.

I’ll update the ticket if I find out that there are limitations, but for now I think you can close it.

Thanks :slight_smile:

@sebastientromp, thanks for the feedback. As a result, we were able to fix the docs.

Closing the ticket.