gdscript set variable types code example Example: godot declare variable type To declare a variable's type, use : : var health: int = 0