You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I’m making a plugin
-
What is the issue? I need to know if the user have roblox studio focus or not
-
What solutions have you tried so far? I tried to user UIS.WindowFocused but it doesn’t work
UIS.WindowFocused:Connect(function()
Focused = true
end)
UIS.WindowFocusReleased:Connect(function()
Focused = false
end)