ContextActionService disregards window focus

Functions bound by ContextActionService seem to fire even when RobloxPlayerBeta’s window is not in focus. This bug always seems to happen when you bind a function to a key using CAS and use the key on a different application or the like, and the functions is ran/fired.
The bug happens in-game, live server.
To reproduce:

  • Create a function with any code
  • Bind the function to a common key like “E” using CAS
  • Go to Discord, Google, or any application and begin typing
  • The function should execute whenever the key is pressed, despite Roblox being in the background

NOTE: This doesn’t seem to be a gameProcessedEvent error, as CAS does not support it, and instead automatically checks it for you before firing.

3 Likes