isrbxactive
Returns true while the Roblox window is the one in focus.
Signature
isrbxactive(): booleanReturns
boolean
Example
if isrbxactive() then
keyclick(0x20) -- only press space while the game has focus
endReturns true while the Roblox window is the one in focus.
isrbxactive(): booleanboolean
if isrbxactive() then
keyclick(0x20) -- only press space while the game has focus
end