Hey im looking for reacting with my web game for resize event.

I want to use Javascript.eval to create listener like that, but on every call i want to execute gdscript func, is there any possibility to do that?


  • after some times i find out that i needed to get the interface of window than add reference to callback

I found option to create.callback inside gdscript

Does anybody got comeplete example with js and gdscript code that will show how it works?

7 days later


after some times i find out that i needed to get the interface of window than add reference to callback