PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

SwipeDirection

SwipeDirection

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

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


Enums

Name Value Description

Right

0

The user swiped right.

Left

1

The user swiped left.

Up

2

The user swiped up.

Down

3

The user swiped down.

None

4

The user did not swipe in a certain direction.