Detecting if a player is AFK in studio

I need help trying to figure out when a player is AFK in studio for a plugin im working on.
I cant simply do UserInputService.InputBegan and check if there hasn’t been any inputs within X time. The issue with that is inputbegan wont fire when you press buttons like scale and move in studio on the top bar. It also wont work when your typing in a script. So how do I tell if a user is AFK or not in studio?

I don’t think it is possible to find if the player is typing in a script or moving objects within a plugin. You’re probably better off writing python code or something to find if the the user has any inputs. If someone else has any ideas feel free to correct me.

1 Like