GETTERS and SETTERS
Basic Example
You can use Getters and Setters to automatically call functions when the value is get or set
var foo := 0:
get: return foo
set(value):
foo = value
$Label.text = str(foo)Last updated