Assigning Sample End Point to a controller?

Hi - looking for a way of assigning sample end point to a controller in Cubase? I can see its possible for envelope parameters but ideally would prefer to control end point.

thanks