Emit Keypress When Button Clicked With ContextActionService?

Is it possible to make a button via ContextActionService and have it emit an InputBegan event (Keycode e) when pressed?

P.S. As it’s a RBXScriptSignal event I don’t think it’s possible.

P.P.S This might be a pretty inefficient way to solve this problem but I want to know if its even possible.

I don’t think it’s possible anymore as VirtualUser doesn’t work now. However, I think you can achieve the same thing without necessarily emitting a keypress? (By storing a reference of the function)

1 Like

Yeah, that’s what I’m currently doing, but I just wanted to see if it was possible. Thanks!