Skip to content
WhyTry313 edited this page Aug 3, 2023 · 27 revisions



Godot JS



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

Clone this wiki locally