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.
備註
There are notable differences when using this API with C#. See C# API 與 GDScript 的不同 for more information.