uloop-simulate-mouse-ui
CommunitySimulate mouse interactions in Unity PlayMode
Authorhatayama
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Simulate precise mouse interactions on Unity PlayMode UI to automate testing and reproduce user pointer events without manual input, enabling deterministic verification of UI behavior.
Core Features & Use Cases
- Click & Long-Press: Trigger PointerDown/PointerUp/PointerClick or sustained pointer-down for UI elements that respond to pointer events.
- One-shot & Split Drags: Perform Drag, DragStart, DragMove, and DragEnd with configurable speed and positions for visual inspection and interaction testing.
- Coordinate-accurate Targeting: Use screen-pixel coordinates (origin top-left) from AnnotatedElements to target frontmost or underlying UI elements reliably.
- Use Case: Automated PlayMode testing that needs to interact with buttons, sliders, draggable lists, or hold-to-activate controls and verify resulting behavior via screenshots or logs.
Quick Start
Run uloop simulate-mouse-ui with the desired action and screen coordinates while Unity is in PlayMode to click, drag, or long-press a UI element.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: uloop-simulate-mouse-ui Download link: https://github.com/hatayama/unity-cli-loop/archive/main.zip#uloop-simulate-mouse-ui Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.