Sample playback question

Sample playback question

https://www.youtube.com/watch?v=G1EVo8v3OG8,

at 1:57, how is he pushing the sample button and having it stop when he lets go? like a cue point on a paused track

Could be the Cup function.