pyrobloxbot.state

The getters can be accessed through pyrobloxbot.state.

class pyrobloxbot.bot.state._BotState(_UI_NAV_ENABLED: bool = False, _SHIFT_LOCK_ENABLED: bool = False, _INVENTORY_OPEN: bool = False, _COOLDOWN_SET: bool = False)
is_inventory_open() bool

Returns whether or not the player’s inventory is open.

Returns:

Whether or not the players inventory is open.

Return type:

bool

is_shift_lock_enabled() bool

Returns whether or not shift lock is enabled or not.

Returns:

Whether or not shift lock is enabled.

Return type:

bool

is_ui_nav_enabled() bool

Returns whether or not the ui navigation mode is enabled.

Important

There are cases where this can become disconnected from what’s actually true in game.

For more information, see UI navigation.

Returns:

Whether or not the ui navigation mode is enabled.

Return type:

bool