SwipeDirection

The SwipeDirection Enum represents the direction in which a user swipes on a UserInputService.TouchEnabled device.

The GuiObject.TouchSwipe and UserInputService.TouchSwipe events pass this enum as an argument.

Items

NameValueSummary
Right0

The user swiped right.

Left1

The user swiped left.

Up2

The user swiped up.

Down3

The user swiped down.

None4

The user did not swipe in a certain direction.

On this page