How to stop a pad when a new pad is triggered

How do you set groove agent so that triggering a pad automatically stops the previous pad?

I want a sample to play until I trigger another sample.

I think it can be done by sidechaining something that will mute the other pads when you trigger one. Any ideas?