Accessing the global scope
Ouverte
wontfix
- Langage dominant
- C++
- Étoiles
- 1.1k
- Forks
- 80
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello again!
I've been trying to figure out a way around this problem I've run into. QuickJS creates its own scope within Godot, but I need to access the javascript, the window variable, or the document variable included with the HTML document from a web build and I don't think that's possible.
Alternatively I could also import the js file into Godot and run it, but this js file attaches its methods to the window, and since window is not defined, there's no way to access them.
Has anyone else run into this problem?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.