MIDI Bass Sustain function

Is there a way to make the MIDI to stop tracking the bass when the sustain peddle is pressed? I’d like to be able to play a synth pad, press sustain and then play a bass part without the synth pad changing notes. I’m using the FCB1010 as the sustain peddle.

Found the answer. Very simple, there are options on the sustain tool to do just that!