Performance when removing "Out of Screen Objects"

Hello,
I am new at Corona and this forum. I hope I have chosen the right forum for this question.
I want to remove objects which were out of the level bounds. Now my question is:
Which method is better for the game performance: Adding a loop in my Game-loop which looks at every single object and removes it if y>360 or adding a physics-object as sensor which removes objects when a PostCollisionEvent is fired.
I am sorry for my bad English.
Best regards,
Sebastian
[import]uid: 138359 topic_id: 26826 reply_id: 326826[/import]

Hi and welcome Sebastian,

Your English is good :slight_smile:

I have always found a Runtime listener to be the better option, not least because it is more or less “foolproof”.

Have you checked out the MultiPuck example? It shows this being used effectively.

Peach :slight_smile: [import]uid: 52491 topic_id: 26826 reply_id: 108905[/import]