Just a really quick question. At the moment I am working on a tutorial and I don’t have time to import my sound module that I would like to use from another project.
So, in the meantime is it perfectly valid to use the code:
func _on_body_entered(body):
if(body is hero):
....
audio.play();
await audio.finished;
#kill off object
queue_free();
And are there any caveats to be aware of using this code?