MouseDown

class MouseDown(click_type: BaseKeyCode = <apparser.key_codes.mouse_keys.LeftClick object>)[source]

Bases: BaseInstruction

Press the selected mouse button down.

property id: int

Return the unique instruction identifier.

Returns:

Instruction identifier.

Return type:

int

perform(*args, **kwargs)[source]

Execute the instruction.

Parameters:
  • args – Positional arguments required during execution.

  • kwargs – Keyword arguments required during execution.