Help with creating a "Glue Note Overlaps" function in Cubase 13 Pro

Does Delete Doubles work in your case?