Can an "enterFrame" event interrupt a "collision" event?

Can an “enterFrame” event interrupt a “collision” event?

That is within a collision event handler, can I be sure an enterFrame event won’t fire and the enterFrame event handler starts processing its code before the collision handler method was finished?

Yes. You can be sure they cannot execute at the same time because Lua is not multithreaded.

What you may see is that an enterFrame event will fire after a collision began phase but before the ended phase. This is not the same as two functions executing at the same time, however.

Yes. You can be sure they cannot execute at the same time because Lua is not multithreaded.

What you may see is that an enterFrame event will fire after a collision began phase but before the ended phase. This is not the same as two functions executing at the same time, however.