Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

uloop-simulate-mouse-input

Skill by CyberAgentGameEntertainment

Simulates Mouse.current input in Unity PlayMode through the Input System package, for clicks, long presses, mouse deltas and scroll. It is for developers testing gameplay mouse controls, and it can also dry-run a Game View coordinate against 3D physics.

  • Score 82
  • 1.7k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install uloop-simulate-mouse-input

Built from the published package, never by AI.

git clone --depth 1 https://github.com/CyberAgentGameEntertainment/NovaShader /tmp/NovaShader && mkdir -p ~/.claude/skills && cp -r /tmp/NovaShader/.claude/skills/uloop-simulate-mouse-input ~/.claude/skills/uloop-simulate-mouse-input

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install uloop-simulate-mouse-input in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant drive mouse input in a Unity game through the uloop simulate-mouse-input command. It injects clicks, long presses, movement deltas, smooth deltas and scroll wheel input into Mouse.current, so runtime code that reads the Input System sees the input. A dry-run mode checks which 3D physics object a Game View coordinate hits, without injecting any input.

The skill is aimed at people who test gameplay mouse controls in Unity. Real input needs PlayMode, the Input System package and Active Input Handling set to Input System Package (New) or Both. The dry-run mode works in EditMode and needs only an active Camera.main. For UI buttons and sliders, the source points to a separate simulate-mouse-ui tool.

Written from the project's SKILL.md and checked against it.

What it can do

  • ClickInjects a mouse button press and release so runtime logic detects wasPressedThisFrame.
  • LongPressHolds a mouse button for a set number of seconds, then releases it.
  • MoveDeltaInjects a one-shot mouse movement delta into Mouse.current.delta.
  • SmoothDeltaInjects a mouse delta smoothly over a set duration, for human-like camera pans.
  • ScrollInjects scroll wheel input into Mouse.current.scroll.
  • Dry-run hit checkQueries 3D physics at a Game View coordinate without injecting mouse input.

What you need

  • Unity with PlayMode for real mouse injection
  • Input System package (com.unity.inputsystem)
  • Active Input Handling set to Input System Package (New) or Both
  • An active Camera.main for --dry-run

Try asking

  • Click the Start button at Game View position 400,300 in Unity.
  • Hold the left mouse button for 2 seconds at 400,300 and report the result.
  • Dry-run a click at 960,540 to see what 3D object it hits.

Good to know

  • Real input injection requires PlayMode and the Input System package.
  • Dry-run uses Unity Physics raycasts, not UI EventSystem raycasts.
  • Duration is capped at 30 seconds for LongPress and SmoothDelta.
  • Do not use the physical mouse during verification, since real input mixes into the same state.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/uloop-simulate-mouse-input/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/output-and-coordinates.md3 KB

Alternatives to uloop-simulate-mouse-input

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

uloop-simulate-mouse-input: common questions

Does this work without the Input System package?

Only the --dry-run mode works without it, and it also works in EditMode. Real mouse injection needs the Input System package.

How do I pick the coordinates to click?

Use AnnotatedElements SimX and SimY values directly, or convert raw screenshot pixels with ScreenshotToInputFormula. The tool handles the Y flip internally.

Can it click UI buttons?

The source says UI buttons should use the simulate-mouse-ui tool instead. This skill targets runtime logic that reads Mouse.current.

How do I install uloop-simulate-mouse-input?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is uloop-simulate-mouse-input free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is uloop-simulate-mouse-input safe to use?

It scores 82 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to uloop-simulate-mouse-input?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

uloop-simulate-mouse-input Install

Add to stack

Loading.