Skip to content
WhyTry313 edited this page Sep 16, 2024 · 27 revisions



Godot JS



If you'd like an alternative source of documentation you can head to the github page of this project:
https://geequlim.github.io/ECMAScript/



Using Godot ECMAScript module
Creating scripts, _ready, _process, variables, get_node and other basic methods to get started

Creating elements
How to use the new constructor and how to find Godot's elements

Property variables and hints
Exporting variables and setting hints to use in the editor

Signals
Exporting and using signals through scripts and the editor

Importing modules
require and import differences

Tooled scripts
Using the @tool magic key

Singletons
Create and use a singleton

Q&A
Avoid getting stuck searching for hours how to solve a simple problem



Page missing?
Noticed a typo?
Confusing content?
Feel free to open an 🔗 issue and I'll fix it as soon as possible!

Clone this wiki locally