thj7/objects/obj_when/Step_0.gml

5 lines
60 B
Plaintext

lifetime -= 1;
if (lifetime <= 0 ) {
instance_destroy();
}