Skip to content

Instantly share code, notes, and snippets.

@nycdotnet
Created October 22, 2025 01:44
Show Gist options
  • Select an option

  • Save nycdotnet/6a8d57ddb7941617d35130d120059731 to your computer and use it in GitHub Desktop.

Select an option

Save nycdotnet/6a8d57ddb7941617d35130d120059731 to your computer and use it in GitHub Desktop.
GDScript Notes

GDScript

Notes are as of Godot 4.5.1 (October 2025)

Empty string is falsy, non-empty string is truthy.

 # prints "b" only.
if "":
  print("a")
if "x":
  print("b")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment