Tile Picking & Interaction
SkillMonitoring & opsUse when converting a mouse/touch position into the correct isometric tile for selection, highlighting, and placement.
Use Tile Picking & Interaction in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Tile Picking & Interaction and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Tile Picking & Interaction skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by 0xheycat/isometric-game-skills in skills/tile-picking-interaction/SKILL.md and read by Ahel’s review.
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
- Take the pointer position in screen space.
- Apply the inverse camera transform (see
camera-pan-zoom-controls). - Apply screen->grid from
isometric-grid-mathand round to a tile. - Clamp the result to map bounds and check walkable if needed.
- Draw a highlight on the picked tile for feedback.
- On click, dispatch the tile coord to the gameplay handler.
- Test picking at multiple zoom levels and pan offsets.
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.
- Hover highlight matches the actual selected tile.
- Clicks dispatch the right grid coordinate.
Signals
- GitHub stars
- 25
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
tile-picking-interaction- Source
- github.com/0xheycat/isometric-game-skills
github.com/0xheycat/isometric-game-skills
More in Monitoring & ops
Skill · anthropics
More in Monitoring & opsagent-eval
Skill · affaan-m
More in Monitoring & opspricing
Skill · coreyhaines31
More in Monitoring & opslark-okr
Skill · larksuite
More in Monitoring & opsdashboard-builder
Skill · affaan-m
More in Monitoring & opsbabysit
Skill · thedotmack
More in Monitoring & ops