|Topic was automatically imported from the old Question2Answer platform.
Am new to Godot and was reading the Godot doc and came across lambda functions. But it keeps returning some error, which i don’t know why. I have checked for solutions but didn’t have any luck. Here my code:
var my_lambda = func(x): print(x)
My error seems to be after the function parentheses.
Also tried other lambda functions still no result.
Thank you .