Move slice via move_slice_marker: use snap?


I am moving around a slice marker via the ‘move_slice_marker’ function. Is it possible to make it obey the current settings from the ‘snap’ check box in the sampler, like I would move it with the mouse and not via script?

Or do I have to re-invent this and check for the, e.g., zero crossings myself?

Cheers, Chris