Yuari
Documentation
Docs/Input/isrbxactive

isrbxactive

Whether the Roblox window is foreground.

Syntax

isrbxactive() -> boolean

Parameters

This function takes no parameters.

Returns

TypeDescription
booleanThe boolean result of the check.

Description

isrbxactive is part of the Input library. Input helpers either read the current OS input state or synthesize OS-level events. Some game interactions also require the Roblox window to be focused.

The call is a predicate: it inspects the current state and returns a boolean without modifying anything.

The aliases isgameactive() resolve to the same implementation.

Example

print(isrbxactive(), isgameactive())

Notes

  • Aliases: isgameactive().
  • Synthetic input may be ignored by games that validate input origins.