Module godot::global

Expand description

Godot global enums, constants and utility functions.

See also Godot docs for @GlobalScope.

The library ships several additional enums in places where GDScript would use magic numbers. These are co-located with builtin types, in the godot::builtin module. The enums are:

Macros§

  • Pushes an error message to Godot’s built-in debugger and to the OS terminal.
  • Prints to the Godot console.
  • Prints to the Godot console. Supports BBCode, color and URL tags.
  • Logs a script error to Godot’s built-in debugger and to the OS terminal.
  • Pushes a warning message to Godot’s built-in debugger and to the OS terminal.

Structs§

Enums§

  • This enum is exhaustive; you should not expect future Godot versions to add new enumerators.
  • This enum is exhaustive; you should not expect future Godot versions to add new enumerators.

Functions§