Mydel 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?
cybereality See here: https://docs.godotengine.org/en/stable/classes/class_javascript.html And here: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_web.html#calling-javascript-from-script
Mydel I found option to create.callback inside gdscript Does anybody got comeplete example with js and gdscript code that will show how it works?
Mydel after some times i find out that i needed to get the interface of window than add reference to callback