Checking the confluence of the elements of the array

Hello!!! Arrays do not give me peace …
Each element of the array is assigned a random number.
This is the frame number
There is an option for an incorrect merger …
How to get around this problem?



We have a bust-a-move clone example that uses the “Link” actions.
Take a look:

I watched this extension …
I do not understand much in it.
My logic is built on simple solutions, such as the sorting of an array and a confluence.
I want to do this in the editor without extensions.
It will be a good lesson.
Thank you.

The link actions are not an extension, they’re an essential component of GDevelop, you should learn how to use them.
I don’t know what you mean by confluence anyway.
But good luck with your array.