Queue_free() destroys scene but doesn't make it disappear

Godot Version

4.3

Question

So, i'm following brakey's tutorial, and when he makes the coin disappear with queue_free() in his code, I tried it, and it doesn't work for me...idk what else to do, help!

And how do we want us to help if we don’t see what you wrote?

Dump the code you wrote and I’m sure someone will take the time to check it and help. Don’t forget to use the proper code to format it all; if not it makes things really hard to follow.

Best of luck.

2 Likes

Not sure how you came to the concussion that is was destroyed if it still visible.

Like the previous comment said, we can only help you if we see your code.

2 Likes

Sorry…this has been solved from discord

Can you tell us what the resolution was, so anyone with a similar question in the future can check if he’s having the same issue?

1 Like

I second, @dharhix lets see some code :slight_smile:

Of course! The issue was I was putting the script in the collision body 2D child node, instead of the root.