Reference API Roblox

Engine API

Website

Related

Reference API Roblox

SwipeDirection

The direction that a user is swiping on their touch screen.

Items 5

HistoryNameValueDescription
113Right0

The user swiped right.

113Left1

The user swiped left.

113Up2

The user swiped up.

113Down3

The user swiped down.

128None4

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.

History 6

Settings