Version godot 4.
Question
how do I fix these errors.
Line 21:Expected “:” after “if” condition.
Line 21:Expected statement, found “Dedent” instead.
Line 21:Missing unindent at the end of function declaration.
My code is.
if Input.is_action_just_pressed("flammas spear") and func \_on_hurty_hurter_flamma_area_entered():
var sparta_hp = 0
pass
The line the error references is line 21 which is 7 lines past this code this is also the only code in this script.