im trying to use a global in an await function, but it is giving an error that says Only identifier, attribute access, and subscription access can be used as assignment target.
In this case you need to show your hotbar code, because if you just want to make Global.berry be true, the Global.berry = true is already enough, you can just call the queue_free() after. The await keyword is to await a signal be emmited before continue the code execution.