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