Error parsing expression, misplaced "\n"

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JorensM

Hi just started using godot yesterday, and I’m in love with it!

So I found this weird error that I think might be a bug, since I don’t see anything wrong with my code.

image

:bust_in_silhouette: Reply From: kidscancode

x++ is not valid GDScript. To increment a variable, you would use x += 1

OH, I see, Thank you very much!

JorensM | 2021-09-09 09:06