uloop-simulate-mouse-ui
Installation
SKILL.md
Task
Simulate mouse interaction on Unity PlayMode UI: $ARGUMENTS
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 byLabel,Name, orPath(A=frontmost, B=next, ...). UseInteractionto distinguish click targets from drag/drop/text targets, then useSimX/SimYdirectly as--x/--ycoordinates. - Execute the appropriate
uloop simulate-mouse-uicommand - Take a screenshot to verify the result:
uloop screenshot --capture-mode rendering --annotate-elements - Report what happened
Tool Reference
uloop simulate-mouse-ui --action <action> --x <x> --y <y> [options]