Skip to content
Desktop inputOverview

isrbxactive

Reports whether the application window is active.

Aliasesisgameactive

Details#

Returns whether the located Roblox window is the foreground window. This is a focus check, not a check for a loaded place or an active network session.

Examples#

Example

Luau
print("Roblox focused:", isrbxactive())