SwipeDirection
The direction that a user is swiping on their touch screen.
Items 5
History | Name | Value | Description | |
---|---|---|---|---|
113 | Right | 0 | The user swiped right. | |
113 | Left | 1 | The user swiped left. | |
113 | Up | 2 | The user swiped up. | |
113 | Down | 3 | The user swiped down. | |
128 | None | 4 | The user did not swipe in a certain direction. |
Description
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.