Hello, I wish that when an object collided for 5 seconds, it would be destroyed.
Thank you.
Develop games in your browser. Powerful, performant & highly capable.
Create one variable, example variable counter
Event 1: Object on collisions with X -> every 1 second add to counter 1
Event 2: Counter => 5 then destroy object and set counter to 0
Note: Also you can use instance variable for the object.