Random collisions occuring

Hm yes, I do need to destroy the ships after their transitions have ended, though I need to make sure they can be reused where I think I had errors previously when I set them to nil.
 
I adjusted the code to include

[lua]function destroyEnemy()

    enemy:removeSelf()

    –

    easyStart()

end     [/lua]

and it works as I want it to :smiley: …at least for a while until it crashes :confused:

Now I want to use this code

[lua]timer.performWithDelay( 1000, destroyEnemy )[/lua]

but where would you suggest I put it, as it’s causing this error:

56883bf919d64e34b93cafe47a512138.png

EDIT: Never mind, seems I had another variable called ‘timer’ which was causing the errors. Thank you both for helping me :slight_smile: