Is it possible to bind ContextActionService action to a custom UI button?

ContextActionService’s BindAction has a custom parameter for creating their own button, but I’d like to use a custom button and bind that along with the other bound keyboard hotkeys with the same action.

Is there anything in the API that allows for that?

1 Like

Nope, I don’t believe there is.

You’ll need to make it yourself; it’d be simple enough if you used something like Button.InputBegan.

I’ve been thinking of adding this for a while, just haven’t had the spare time yet. I’ll start the formal process for adding it, but no promises.

5 Likes