How to drag sprites in Thunkable X

How to convert the following block from Classic to X?
drag

I want to drag a sprite horizontally only, fixed Y coordinate, how can that be done?

1 Like

You can use this to detect when the drag ends:

Screen Shot 2020-01-30 at 9.17.24 AM

You can use this to get the sprite’s x, y or angle:

Screen Shot 2020-01-30 at 9.18.41 AM

I don’t believe we have a way of getting the sprites previous position (i.e. before the drag).