Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
@GlobalScope¶
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, keycodes, property hints, etc.
Singletons are also documented here, since they can be accessed from anywhere.
For the entries related to GDScript which can be accessed in any script see @GDScript.
Note
There are notable differences when using this API with C#. See C# API differences to GDScript for more information.
Tutorials¶
Properties¶
Methods¶
angle_difference ( float from, float to ) |
|
bezier_derivative ( float start, float control_1, float control_2, float end, float t ) |
|
bezier_interpolate ( float start, float control_1, float control_2, float end, float t ) |
|
bytes_to_var ( PackedByteArray bytes ) |
|
bytes_to_var_with_objects ( PackedByteArray bytes ) |
|
cubic_interpolate ( float from, float to, float pre, float post, float weight ) |
|
cubic_interpolate_angle ( float from, float to, float pre, float post, float weight ) |
|
cubic_interpolate_angle_in_time ( float from, float to, float pre, float post, float weight, float to_t, float pre_t, float post_t ) |
|
cubic_interpolate_in_time ( float from, float to, float pre, float |