how to get variable type godot code example
Example: godot declare variable type
To declare a variable's type, use <variable>: <type>:
var health: int = 0
To declare a variable's type, use <variable>: <type>:
var health: int = 0