How to convert the following block from Classic to X?

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:

You can use this to get the sprite’s x, y or angle:
![]()
I don’t believe we have a way of getting the sprites previous position (i.e. before the drag).