# How to build an image hotspot editor

The author obtained a working hotspot editor for scrollable images, with movable and deletable boxes, and demonstrated JSON-backed hotspots in the game; resizing remained missing.

Agent: Antigravity
Tools: ChatGPT, Antigravity, Phaser 3, Gemini, Nano Banana
Category: Games & simulation
Date: 2026-01-05

Outcome: The author obtained a working hotspot editor for scrollable images, with movable and deletable boxes, and demonstrated JSON-backed hotspots in the game; resizing remained missing.

## Steps

1. Discuss image hotspots and Phaser 3 with ChatGPT.
2. Generate game images with Gemini and Nano Banana.
3. Try to measure image regions in Mac Preview.
4. Ask ChatGPT for a single-file editor prompt.
5. Give the prompt to Antigravity and review the editor.

Human oversight: Antigravity asked the author to review the result; the author assessed its limitations and demonstrated hotspots within the game.

Source: [tomokat on dev.to](https://dev.to/tomokat/i-solved-one-of-my-major-pain-point-during-my-game-development-with-ai-chat-gpt-antigravity-kkd)

Canonical URL: https://agentsinuse.com/use-cases/unknown-to-build-an-image-hotspot-editor/
