Skip to content
WhyTry313 edited this page Aug 2, 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

**[Variables and hints](3.5-Variables-and-hints)**
Exporting variables and setting hints to use in the editor

**[Signals](3.5-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