activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Sep 29, 2025

Block User Input

UiPath.UIAutomationNext.Activities.NBlockUserInput

Description

A container activity which disables the mouse and keyboard input when activities inside it run. Can be configured to block either mouse, keyboard, or both, and permits you to designate a hotkey combination to re-enable them.

Project compatibility

Windows | Cross-platform

Configuration

  • Block - Indicates whether both keyboard and/or mouse input is blocked.
    • Keyboard and Mouse - Both keyboard and mouse are blocked.
    • Keyboard - Only keyboard input is blocked.
    • Mouse - Only mouse input is blocked.
  • Unblock using key modifiers - Indicates the key modifiers you want to use alongside the key selected in the Key property to reactivate the mouse and keyboard. The following options are available: Alt, Ctrl, Shift, and Win.
  • Unblock using key - Indicates the key you want to use to reactivate the mouse and/or keyboard input. The key can be used by itself or as part of the unblock key sequence, alogside the key modifiers.

    The unblock key sequence allows unblocking the user input, while the activity is still executing.

Properties panel

Options

  • Disable automatic unblock - Indicates whether to disable the automatic unblock of input after the inner activities are executed and the scope finishes execution. User input can be manually unblocked using the Unblock User Input activity.

    Default value is False, which means that the user input is automatically unblocked.

  • Allow 3rd party applications - Indicates whether input sent by other third party applications are allowed or also blocked.

    Default value is False, which means other third party applications are also blocked.

Timings

  • Timeout - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.