The JavaScript singleton no longer exists in Godot 4. Instead theres something called JavaScriptBridge. Docs about it here: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_web.html#calling-javascript-from-script but havent used it before so cant give more than that
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: