Tile Picking Interaction
Use when converting a mouse/touch position into the correct isometric tile for selection, highlighting, and placement.
Install
npx skills add 0xheycat/isometric-game-skills --skill tile-picking-interactiongit clone --depth 1 https://github.com/0xheycat/isometric-game-skills.git /tmp/isometric-game-skills
mkdir -p ~/.claude/skills
cp -r /tmp/isometric-game-skills/skills/tile-picking-interaction ~/.claude/skills/tile-picking-interactionPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Tile Picking & Interaction ## Overview Picking is screen->grid with the camera inverse applied first. This skill turns a pointer position into the exact tile under it, with a highlight and hit-test that respects camera pan/zoom. ## When to Use - Clicking selects the wrong tile. - You need hover highlight or click-to-place. - Picking ignores camera pan/zoom. ## Process 1. Take the pointer position in screen space. 2. Apply the inverse camera transform (see `camera-pan-zoom-controls`). 3. Apply screen->grid from `isometric-grid-math` and round to a tile. 4. Clamp the result to map bounds and check walkable if needed. 5. Draw a highlight on the picked tile for feedback. 6. On click, dispatch the tile coord to the gameplay handler. 7. Test picking at multiple zoom levels and pan offsets. ```js const world = screenToWorld(pointer, cam); const tile = worldToGrid(world, W, H); // then round ``` ## Rationalizations (Stop Lying to Yourself) | Excuse | Reality | |---|---| | "I will skip the camera inverse" | Then picking breaks the moment you pan/zoom. Always invert. | | "No need to highlight" | Players need feedback on what they will click. Highlight. | ## Red Flags - STOP if you catch yourself: - Picking that ignores camera pan/zoom. - No rounding so edge tiles mis-select. - No visual highlight feedback. ## Verification You are NOT done until every box is checked: - [ ] Picked tile is correct at any pan and zoom.
Details
- Skill name
tile-picking-interaction- Repository
- 0xheycat/isometric-game-skills
- Path
skills/tile-picking-interaction/SKILL.md- License
- MIT
- Repo updated
- 12 August 2026
- Listed in
- heilcheng/awesome-agent-skills
FAQ
What does the Tile Picking Interaction skill do?
Use when converting a mouse/touch position into the correct isometric tile for selection, highlighting, and placement.
How do I install the Tile Picking Interaction skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add 0xheycat/isometric-game-skills --skill tile-picking-interaction. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Tile Picking Interaction popular?
It lives in 0xheycat/isometric-game-skills, which has 49 GitHub stars and 6 forks, and is included in 1 curated skill list.
Related skills
Animated Sprite Generation
490xheycat/isometric-game-skills
Use when creating looping animated isometric sprites (water, fire, windmills, flags) as frame strips that play back smoothly in-engine.
Asset Pipeline Automation
490xheycat/isometric-game-skills
Use when automating the path from generated sprites to a shipped atlas + map so re-generating art does not mean hours of manual rework.
Autotiling Transitions
490xheycat/isometric-game-skills
Use when making different terrain types (grass, water, sand) blend with automatic edge and corner transition tiles instead of hard seams.
Tilemap Data Format
490xheycat/isometric-game-skills
Use when designing the map data format (layers, tiles, objects, metadata) so maps are editable, versionable, and engine-agnostic.
Thunderwave
113Hmbown/Wizards-of-the-Ghosts
Use this skill for intentionally theatrical or forceful actions, but only behind explicit confirmation and a hard safety boundary.
Tlaplus Add Variable
49tlaplus/AgentSkills
Add a new variable to an existing TLA+ specification without changing its semantics. Ensures the variable is declared, initialized, and added to all UNCHANGED statements. Use when the user asks to add, introduce, or declare a new variable in a TLA+ spec, or mentions UNCHANGED statements.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.