uloop-simulate-mouse-ui
Installation
SKILL.md
Task
Simulate mouse interaction on Unity PlayMode UI.
Workflow
- Ensure Unity is in PlayMode (use
uloop control-play-mode --action Playif not) - Get UI element info:
uloop screenshot --capture-mode rendering --annotate-elements --elements-only - Use the
AnnotatedElementsarray to find the target element byPathorName(labels are ordered bySortingOrder/SiblingIndex, which can differ from the real draw order, so do not choose a target byA,B, ... alone). UseInteractionto distinguish click targets from drag/drop/text targets, then useSimX/SimYdirectly as--x/--ycoordinates. - Execute the needed
uloop simulate-mouse-uicommands - Inspect the result with the lightest useful evidence: runtime state, logs, or a screenshot
- When this UI input verifies a state transition, use Pause Point inspection from the section below as the standard frame proof
- Report what happened and which evidence was used
Tool Reference
uloop simulate-mouse-ui --action <action> --x <x> --y <y> [options]