Simulating an orthographic cylinder rotation

Hi folks, new to ProtoPie but have a lot of experience with similar tools like Axure. I’d like to simulate a looping cylinder viewed in orthographic, I can get the cylinder to loop in increments using button based interactions (essentially, I have a masked component that moves by plus or minus a fixed amount depending on which button is tapped and includes condition to reset the location to simulate looping), but cannot get this working on a swipe (which is not in ProtoPie but is in Axure). The closest I can find is drag - but that doesn’t allow me to assign a drag.x parameter to a variable (again exists in Axure). I’ve also tried using ‘Paging’ but this seems to only update one panel at a time.

Here’s what kind of works:

on TouchDown assign touch.x to a variable (dragStart) then on TouchUp assign touch.x to another variable (dragEnd). Touch Up then has a condition
if dragEnd < dragStart move component x amount left

if dragEnd > dragStart move component x amount right

and this works… however it comes with a very strange bug where if i start swiping left it works, and will swipe left as many times as I want, but when I switch to swiping right, the first right swipe will enact a swipe left response - after which it will swipe right correctly (and vice versa)

Another thought was

for the container with the settings,
on drag release
if draggedObject.location is >x1 && <x2 move draggedObject to XLoc1

if draggedObject.location is >x2 && <x3 move draggedObject to XLoc2

if draggedObject.location is >x3 && <x4 move draggedObject to XLoc3

and so on.

The ‘cylinder’ should rotate in increments (simulating each setting)

Any idea where I’m going wrong or any better suggestions. Again, a lot of this is probably coming from Axure and having to rethink things for Protopie (which I am loving btw).

Here’s a mockup below. It should infinitely loop in either direction, in stepped increments.