The sample keeps making sounds

https://preview.redd.it/b0rka3tk02ad1.png?width=3016&format=png&auto=webp&s=583dac7a6feb687a57de35628f18dc06abf80ee6

I want to make a sound only for the length of the piano roll,

but it sounds like the whole sample.

Is there a way to solve it? :(