GDScript-specific globals
On this page
Earlier edition reference / Current 0.86.4.0 property paths > p. 350
Color8()#
Color8(r8: int, g8: int, b8: int, a8: int = 255) -> ColorConstruct a Color from 8-bit channel values.
assert()#
assert(condition: bool, message: String = "") -> voidDebug assertion; do not use as release-build input validation.
char()#
char(code: int) -> StringConvert between a Unicode code point and a character.
convert()#
convert(what: Variant, type: int) -> VariantCompatibility type conversion. Prefer current type_convert/constructors where appropriate.
dict_to_inst()#
dict_to_inst(dictionary: Dictionary) -> ObjectCompatibility object/dictionary conversion; use an explicit data format for portable game state.
get_stack()#
get_stack() -> ArrayInspect or print native debug stack/location information.
inst_to_dict()#
inst_to_dict(instance: Object) -> DictionaryCompatibility object/dictionary conversion; use an explicit data format for portable game state.
is_instance_of()#
is_instance_of(value: Variant, type: Variant) -> boolTest a value against a supplied type/class.
