Ignore ContextActionService input when viewport focus is lost

As far as I know , it is currently impossible to add a case check for ContextActionService to ignore input if the focus is lost in the viewport. If you’re focused in a text box, or even unfocused from the roblox window entirely, inputs will still fire.

User Input Service had a way to counter this with GameProcessed.

It doesn’t seem like this is possible with ContextActionService. Correct me if I’m wrong. I don’t see why input wouldn’t be lost if you’re not focused on roblox anyways. That can lead to key logging…

8 Likes