ActivateWindow¶
Inherits |
Activates a window and sets the previous_window_id variable to the ID of the previously active window. Certain actions, such as InputAction may not
function properly without a short delay after window activation.
Note
This action is currently only supported in the compositor plugin implementations.
Configuration¶
Properties¶
Property |
Type |
Description |
|---|---|---|
activate_window |
string |
ID of the window to activate. Accepts dynamic values, evaluated synchronously. |
Examples¶
activate_window: $window_under_pointer_id
actions: # actions of a trigger
- activate_window: $window_under_pointer_id
# ...
# perform some actions on the window
# ...
- activate_window: $previous_window_id # Restore the previous window