love-mouse
CommunityControl the mouse in LÖVE for precise gameplay.
AuthorRedKenrok
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides an API to read and control the user's mouse within LÖVE games, enabling consistent input handling across platforms.
Core Features & Use Cases
- Position tracking: read mouse x/y coordinates and support relative mode for unrestricted movement.
- Cursor management: show, hide, and assign custom cursors; retrieve system cursors.
- Input events: detect button presses and motions for menus, gameplay, and drag-and-drop interactions.
- Cross-platform consistency: works across desktop environments and provides mouse input behavior that works similarly on target devices.
- Use Case: Create a game menu where hover highlights are driven by the current mouse position and a custom cursor is rendered.
Quick Start
Start by querying the mouse position in Love.load and Love.update, then render a custom cursor image at those coordinates. For example: hide the default cursor with love.mouse.setVisible(false), read love.mouse.getPosition(), and draw your own sprite at the returned x, y values.
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: love-mouse Download link: https://github.com/RedKenrok/skills/archive/main.zip#love-mouse 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 223,000+ vetted skills library on demand.