So i have some buttons in my game which can be activated by being clicked or by activating a hotkey. Problem is, the hotkey still opens the UI while the player is typing.
Is there a specific way to know when the player is typing so the hotkey doesn't activate while chatting?
[EDIT #1] I tried using ContextActionService, but the only events I can see for use are LocalToolEquipped and LocalToolUnequipped. How would I bind hotkeys to my UI buttons using ContextActionService?

2 comments
What are you currently using for your buttons? UserInputService?
Yes, UserInputService.