Constrain While Dragging

Hello! I’m willing to bet, that this has been asked before, but terminology is beating me, when I search.

If I split two bars of audio (or MIDI) on one track, how can I drag the snippet to another track, while preventing it from moving to the left or right?

Thank you!

drag up or down and Hold [ctrl]

[cmd] on Mac. Thank you!