uloop-simulate-mouse-input
Installation
SKILL.md
Task
Simulate mouse input via Input System in Unity PlayMode, or dry-run a Game View coordinate against 3D physics without injecting input.
Workflow
- When checking what a screenshot coordinate would hit in 3D physics before clicking, run
uloop simulate-mouse-input --dry-run --x <x> --y <y>first (EditMode is fine; no Input System required) - Ensure Unity is in PlayMode (use
uloop control-play-mode --action Playif not) before injecting real mouse input - For Click/LongPress: determine the target Game View input position from annotated
SimX/SimY, raycast-gridInputX/InputY, or raw image pixels converted withScreenshotToInputFormula - Execute the needed
uloop simulate-mouse-inputcommands - Inspect the result with the lightest useful evidence: runtime state, logs, or a screenshot
- When this 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
Two rules while verifying:
- Do not touch the physical mouse or keyboard, and keep the OS pointer off the Unity window — real device input mixes into the same
Mouse.currentstate this tool injects. - Read the starting values you will assert against immediately before firing the input; a value measured earlier in the session may have changed.