Commonly, games need to load resources asynchronously. When switching the main scene of your game (e.g. going to a new level), you might want to show a loading screen with some indication that prog...| Godot Engine documentation
Welcome to the official documentation of Godot Engine, the free and open source community-driven 2D and 3D game engine! If you are new to this documentation, we recommend that you read the introduc...| Godot Engine documentation
This page explains how file paths work inside Godot projects. You will learn how to access paths in your projects using the res:// and user:// notations, and where Godot stores project and editor f...| Godot Engine documentation
In this lesson, we will look at signals. They are messages that nodes emit when something specific happens to them, like a button being pressed. Other nodes can connect to that signal and call a fu...| Godot Engine documentation
A packed array of 32-bit integers. Description: An array specifically designed to hold 32-bit integer values. Packs data tightly, so it saves memory for large array sizes. Note: This type stores si...| Godot Engine documentation
A packed array of 64-bit floating-point values. Description: An array specifically designed to hold 64-bit floating-point values (double). Packs data tightly, so it saves memory for large array siz...| Godot Engine documentation
A packed array of 32-bit floating-point values. Description: An array specifically designed to hold 32-bit floating-point values (float). Packs data tightly, so it saves memory for large array size...| Godot Engine documentation
Inherits: RefCounted< Object Provides methods for file reading and writing operations. Description: This class can be used to permanently store data in the user device's file system and to read fro...| Godot Engine documentation
A 3×3 matrix for representing 3D rotation and scale. Description: The Basis built-in Variant type is a 3×3 matrix used to represent 3D rotation, scale, and shear. It is frequently used within a Tra...| Godot Engine documentation
Introduction: Godot's scene system, while powerful and flexible, has a drawback: there is no method for storing information (e.g. a player's score or inventory) that is needed by more than one scen...| Godot Engine documentation
This is a (incomplete) list of API differences between C# and GDScript. General differences: As explained in General differences between C# and GDScript, PascalCase is used to access Godot APIs in ...| Godot Engine documentation
Inherits: MainLoop< Object Manages the game loop via a hierarchy of nodes. Description: As one of the most important classes, the SceneTree manages the hierarchy of nodes in a scene, as well as sce...| Godot Engine documentation
A built-in type for strings. Description: This is the built-in string Variant type (and the one used by GDScript). Strings may contain any number of Unicode characters, and expose methods useful fo...| Godot Engine documentation
A packed array of bytes. Description: An array specifically designed to hold bytes. Packs data tightly, so it saves memory for large array sizes. PackedByteArray also provides methods to encode/dec...| Godot Engine documentation
A 4D vector using floating-point coordinates. Description: A 4-element structure that can be used to represent 4D coordinates or any other quadruplet of numeric values. It uses floating-point coord...| Godot Engine documentation
A 3D vector using floating-point coordinates. Description: A 3-element structure that can be used to represent 3D coordinates or any other triplet of numeric values. It uses floating-point coordina...| Godot Engine documentation
A color represented in RGBA format. Description: A color represented in RGBA format by a red ( r), green ( g), blue ( b), and alpha ( a) component. Each component is a 32-bit floating-point value, ...| Godot Engine documentation
Global scope constants and functions. Description: A list of global scope enumerated constants and built-in functions. This is all that resides in the globals, constants regarding error codes, keyc...| Godot Engine documentation
Inherits: Texture< Resource< RefCounted< Object Inherited By: AnimatedTexture, AtlasTexture, CameraTexture, CanvasTexture, CompressedTexture2D, CurveTexture, CurveXYZTexture, ExternalTexture, Gradi...| Godot Engine documentation
Inherits: Resource< RefCounted< Object Image datatype. Description: Native image datatype. Contains image data which can be converted to an ImageTexture and provides commonly used image processing ...| Godot Engine documentation
GDScript is a high-level, object-oriented, imperative, and gradually typed programming language built for Godot. It uses an indentation-based syntax similar to languages like Python. Its goal is to...| Godot Engine documentation
The most important data type in Godot. Description: In computer programming, a Variant class is a class that is designed to store a variety of other types. Dynamic programming languages like PHP, L...| Godot Engine documentation
A built-in type for unique strings. Description: StringName s are immutable strings designed for general-purpose representation of unique names (also called "string interning"). Two StringName s wi...| Godot Engine documentation
Inherits: Object Inherited By: AnimationMixer, AudioStreamPlayer, CanvasItem, CanvasLayer, EditorFileSystem, EditorPlugin, EditorResourcePreview, HTTPRequest, InstancePlaceholder, MissingNode, Mult...| Godot Engine documentation
A built-in data structure that holds key-value pairs. Description: Dictionaries are associative containers that contain values referenced by unique keys. Dictionaries will preserve the insertion or...| Godot Engine documentation
Built-in GDScript constants, functions, and annotations. Description: A list of utility functions and annotations accessible from any script written in GDScript. For the list of global functions an...| Godot Engine documentation
A 2D vector using integer coordinates. Description: A 2-element structure that can be used to represent 2D grid coordinates or any other pair of integers. It uses integer coordinates and is therefo...| Godot Engine documentation
A 2D axis-aligned bounding box using integer coordinates. Description: The Rect2i built-in Variant type represents an axis-aligned rectangle in a 2D space, using integer coordinates. It is defined ...| Godot Engine documentation
Inherited By: AudioServer, CameraServer, ClassDB, DisplayServer, EditorFileSystemDirectory, EditorInterface, EditorPaths, EditorSelection, EditorUndoRedoManager, EditorVCSInterface, Engine, EngineD...| Godot Engine documentation
A built-in data structure that holds a sequence of elements. Description: An array data structure that can contain a sequence of elements of any Variant type. Elements are accessed by a numerical i...| Godot Engine documentation
A 2D vector using floating-point coordinates. Description: A 2-element structure that can be used to represent 2D coordinates or any other pair of numeric values. It uses floating-point coordinates...| Godot Engine documentation
Inherits: RefCounted< Object A unit of execution in a process. Description: A unit of execution in a process. Can run methods on Object s simultaneously. The use of synchronization via Mutex or Sem...| Godot Engine documentation
A packed array of Vector2 s. Description: An array specifically designed to hold Vector2. Packs data tightly, so it saves memory for large array sizes. Differences between packed arrays, typed arra...| Godot Engine documentation
A packed array of 64-bit integers. Description: An array specifically designed to hold 64-bit integer values. Packs data tightly, so it saves memory for large array sizes. Note: This type stores si...| Godot Engine documentation
A built-in type for integers. Description: Signed 64-bit integer type. This means that it can take values from-2^63 to 2^63 - 1, i.e. from-9223372036854775808 to 9223372036854775807. When it exceed...| Godot Engine documentation
A built-in type for floating-point numbers. Description: The float built-in type is a 64-bit double-precision floating-point number, equivalent to double in C++. This type has 14 reliable decimal d...| Godot Engine documentation
A built-in boolean type. Description: The bool is a built-in Variant type that may only store one of two values: true or false. You can imagine it as a switch that can be either turned on or off, o...| Godot Engine documentation
A built-in type representing a method or a standalone function. Description: Callable is a built-in Variant type that represents a function. It can either be a method within an Object instance, or ...| Godot Engine documentation
Inherits: RefCounted< Object An implementation of A* for finding the shortest path between two points on a partial 2D grid. Description: AStarGrid2D is a variant of AStar2D that is specialized for ...| Godot Engine documentation
Inherits: RefCounted< Object An implementation of A* for finding the shortest path between two vertices on a connected graph in 2D space. Description: An implementation of the A* algorithm, used to...| Godot Engine documentation