function in gd gdscript code example
Example 1: gdscript variable
var variable = 'string'
Example 2: gdscript default parameters
func foo(a,b=1,c=2):
...
foo("first param", "second param") # the third parameter will have the default value "2"