Skip to reading
GDScript Programming & Godot

Godot class map and API lookup

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
On this page

Earlier edition reference / Current 0.86.4.0 property paths > p. 350

These are useful entry points, not a replacement for Godot’s entire class library. The named members below are starting points. Open the official class reference for complete signatures, inherited members, signals and platform notes.

The class documentation generated from the installed runtime was also used to check the examples. Stable online documentation can describe a newer release later, so validate a copied example against the version shipped with your PCA build.

A class being available does not automatically configure its content, native extension binaries, platform permissions or export files. A node still needs the correct parent and lifetime.

Object#

Common base for Godot objects.

Code example
Useful members: get, set, call, has_method, get_method_list, get_property_list, connect,
is_class.

Official Object reference

Node#

Tree structure, lifetime, groups and callbacks.

Code example
Useful members: add_child, get_node_or_null, get_children, queue_free, add_to_group, get_tree,
create_tween.

Official Node reference

SceneTree#

The live Godot tree and scheduling.

Code example
Useful members: create_timer, process_frame, physics_frame, get_nodes_in_group, call_group.

Official SceneTree reference

Timer#

An owned repeatable/one-shot timer node.

Code example
Useful members: start, stop, timeout, wait_time, one_shot, time_left.

Official Timer reference

Page 320 of 378Permalink
Go to page