Loop b4 start

I’d like to be able to have a loop start mid sample, play to the loop end point then go to the loop start point before the sample start point.
Basically, be able to set loop start BEFORE sample start.