GDScript Function Builder
func · presets · if / elif / else · return
Godot Presets
Function Signature
function name
return type
void
bool
int
float
String
Vector2
Vector3
Dictionary
Array
Variant
+ add parameter
static
Conditions
+ if
+ elif
+ else
Final Return
add return statement at end
return value
▶ Generate GDScript
Output
Copy
# press Generate