Detect when player click started or ended on a ContextActionService action

Hey!

The title says it all, how can I detect when a click started or ended on a ContextActionService action?
(I seached this on devforum but I could not find anything similar, but maybe I searched for the wrong words)

On the second parameter of the action function you would be able to identify the state of the input (Begin, Change, End or Cancel)

https://create.roblox.com/docs/reference/engine/classes/ContextActionService#BindAction

1 Like