Allow Drag Only on X-Axis or Y-Axis for Draggable Behavior

I would love to be able to set the Draggable behavior to only draggable along the X-Axis or Y-Axis.

Simple, self-explanatory request. Would be useful and is less messy than constantly setting the X/Y to the desired amount.

1 Like

I’m not sure why you need to request this feature, simply set the X/Y position during the dragging. :person_shrugging:

I’m guessing if you use a hidden horizontal line sprite passing through the center of the draggable sprite, you can set an action like:

Change the Y position of the center of { draggableItem }: set to { lineSprite.CenterY() }

The action should be without an event.