Slide on button when pressed and choose when leave

I need to implement very specific interaction on my design. I need to press button 0…5, to choose one of them, and my choise fixes when I leave the button, but if I accidently chosen incorrect number I can slige on button while holding finger on it to needed number and this number will will be highlighted. But whatever I did I can’t implement it using Pressed Interaction. I tried combinations of Pressed or Mouse Down and Mouse Leave and Mouse Up but it doesn’t worked.

The only way I managed achieve was using While Hover interaction, but it doesn’t work for client because I need to provide clickable prototype for Figma Mirror on mobile and any hovers doesn’t work there.


So can you help me with this?