Hi, there to anyone who is reading this if you know what contextactionservice is I will give you a brief example a context action service is basically used for mobile players or buttons similar to a text button etc etc and I was trying to figure out a way to think about how can I use context action service as a keybind so then my game can be supported for mobile as-well, the scripts that I made are completely useless and they won’t actually do anything supported to this question I hope that someone finds a answer
✓ ANSWER ACCEPTED
How Do I Use ContextActionService As Using It As A Keybind?
1 answer
✓ Accepted answer
https://developer.roblox.com/en-us/api-reference/class/ContextActionService
If you look at the CAS API reference page, you can see that the third parameter when you bind an action is a bool value. This controls whether or not it creates a button for mobile players. As for how you customize this button, you can refer to this youtube video
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks! This helped me alot thank you ;)