Here is a game template with a similar mechanics:
https://www.scirra.com/store/royalty-free-game-templates/match-3-connect-puzzle-game-3859
You can also look in the tutorials section:
https://www.construct.net/en/tutorials?flang=1
Yeah, it looks like that Dop but its completely different what I'm looking for.