[Solved] Delay to deleting an object

Hello everyone,
I need help in delaying in the removal of an object.
So basically I am creating a game like mario and I have to delete a coin in delay so that it plays a tone when the player collides with it. When I do normal “player is in collision with coin | delete coin” and in the other line - “player is in collision with coin, trigger once while true | play a sound _____” please help how to delay the delete of coin and the sound should be hearable too…

Did you already check the platformer example? It has disappearing coins (with sound) using tween.

https://editor.gdevelop-app.com/?project=example://platformer

3 Likes

thank you very much for solving my problem

1 Like