Unexpected Identifier

4.3 Godot Version

I am making a code for sound based procedural generation and am currently debugging, my latest error says there is an unexpected identifier, but yesterday, that line of code was fine, please help. I cannot figure out what the identifier is, and I have tried restarting Godot

Pretty sure it’s just add_child(audio_player) outside of any function, just dry in the class bosy that is causing that, no?

2 Likes

agree :)))