Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I Use ContextActionService As Using It As A Keybind?

Asked by 3 years ago

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

1 answer

Log in to vote
0
Answered by 3 years ago

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

0
Thanks! This helped me alot thank you ;) Confidencebreath 8 — 3y
Ad

Answer this question