See https://tutorials.renoise.com/wiki/Sampler#Sample_List

The icon on the top right, left to the “EDIT” button, controls if samples should be auto-selected:
When enabled, a sample from the list will be automatically selected when it is played on the keyboard or by MIDI.