I have been searching far and wide to find an article on the scripting wiki that has a library of all the different mobile functions dealing with touch, swipe, etc. and how to utilize them. I remember coming across an article like this a while ago, but have not been able to find it recently. Does anyone have the link?
There is a list of mobile-related events that are descended from UserInputService
if thats what you’re talking about?
List of Events:
- UserInputService.TouchSwipe
- UserInputService.TouchTap
- UserInputService.TouchTapInWorld
- UserInputService.TouchLongPress
- UserInputService.TouchMoved
- UserInputService.TouchPan
- UserInputService.TouchPinch
- UserInputService.TouchRotate
- UserInputService.TouchStarted
- UserInputService.TouchEnded
Each of them has an explanation of what the event can do, as well as code example(s).
1 Like
Do those cover the Thumbpad movements which control character movement?
I don’t think so. I think you may be leaning towards game controls. There’s a wiki on the different controls you can change, including mobile controls.
EDIT: I’ve also found a wiki for gamepad input if that helps at all.
Thanks. I was talking about using the same mobile character movement controls for other things, such as vehicles. Do you know where I can find anything about that?