SwipeDirection¶
Supported Enum
The direction that a user is swiping on their touch screen.
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.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Right |
0 | Supported | The user swiped right. |
Left |
1 | Supported | The user swiped left. |
Up |
2 | Supported | The user swiped up. |
Down |
3 | Supported | The user swiped down. |
None |
4 | Supported | The user did not swipe in a certain direction. |
Roblox reference: SwipeDirection