I tried the first option but it doesn't work unless I make the collision box smaller which prevents the pin from working.
The problem is showcased in this video
How would I get the game to move to the next layout when the player sprite and connected parts overlap exactly with another sprite?