Drag and Drop Game

hi there kirupas!

i’m trying to create a drag and drop game, almost at the end but cant figure one thing out…
i mean, i have several objects and several targets, everything works fine, but i’m trying to create a function that detects when ALL the objects have been placed in the corresponding target…and go to the “end” frame.

i cant figure out how to transform it in a if sentence that includes all the objects…
any ideas?