# Hotspot questions

> How EduBase hotspot questions work, how to draw the zones on an image in the hotspot editor, and how participants mark the right places with markers.

A hotspot question in EduBase shows an image and asks participants to mark the right places on it: the emergency exits on a floor plan, a hazard in a photo of a workstation, a part of a machine or a region of an anatomical drawing. Participants place markers by clicking, and EduBase checks whether each marker falls inside one of the zones you drew.

## How a hotspot question works

- Each **Correct answer** names one zone, for example "West emergency exit". You draw as many zones as there are correct answers; EduBase pairs them in order: the first zone belongs to the first answer, and so on.
- A zone is a **Circle** or a **Rectangle**, with its position given as a percentage of the image's width and height, so it stays in place at any screen size.
- Participants place as many markers as there are correct answers. They can move a marker, remove it, or remove all and start again.
- By default the order of the markers does not matter: a marker counts when it falls inside any zone not yet matched. With **Answer order does matter** under **Answering and Scoring**, the first marker must be in the first zone, the second in the second, and so on.
- With [partial credit](https://help.edubase.net/questions/scoring/#partial-credit), each correct marker earns part of the points.
- The results page shows the markers with the names of the zones.

## Create a hotspot question

1. Open the editor ([Create a question](https://help.edubase.net/questions/create/)) and choose **Hotspot (mark spots on an image)** as the **Question type**.
2. Write the question, and enter one **Correct answer** for each place participants have to mark. Choose **+** to add more.
3. Add the image under **Add or manage images, media and attachments**, then save the question. The hotspot image can be chosen only after the image is saved.
4. Choose the image under **Hotspot image**.
5. Choose **Open editor** and draw the zones on the image (see below), then choose **Save zones**.
6. Save the question.

![The Correct answers West emergency exit and North-east emergency exit, the warehouse plan chosen as Hotspot image with the Open editor button, and two circle zones with their X, Y coordinates and radius](https://help.edubase.net/assets/screens/questions/types-hotspot/01-editor.webp)
/// caption
**Question editor → Question**
///

In the demo, the compliance manager of the food manufacturer asks warehouse staff to mark the two emergency exits on the plan of the Eastbrook warehouse.

## Draw the zones

The hotspot editor shows the image with the zones on it. Choose **Circle** or **Rectangle** at the top, then:

- **Add a zone**: click the image where the zone should be.
- **Move or resize it**: drag the zone, or drag its handles. A circle's radius can be 2% to 50% of the image width; a rectangle's sides 2% to 100%.
- **Delete it**: select the zone and press Delete, or choose the **×** next to it in the list.
- **Change the order**: drag the zones in the list under the image. The order decides which zone belongs to which correct answer.

![The Hotspot editor with the Circle tool selected, the warehouse plan with Zone #1 on the west exit and Zone #2 on the north-east exit, and the list of zones below the image](https://help.edubase.net/assets/screens/questions/types-hotspot/02-zone-editor.webp)
/// caption
**Hotspot image → Open editor**
///

You can also type the coordinates under **Zones** in the question editor: X and Y and the **Radius** for a circle, the two corners for a rectangle, all in percent.

## What participants see

Participants click the image to place a marker. Each marker gets a number, and the counter under the image shows how many they have placed and how many are needed. **small view**, **normal view** and **large view** change the size of the image.

![A participant's view of the question: the warehouse plan with marker 1 on the west exit and marker 2 on the north-east exit, Marker #1 and Marker #2 listed under the image, and the counter at 2 / 2](https://help.edubase.net/assets/screens/questions/types-hotspot/03-participant.webp)
/// caption
**Question editor → try**
///

## In an upload or over the API

In an [EDU file](https://help.edubase.net/questions/edu-format/) the type is `HOTSPOT`; the API's `POST /question` takes the same fields in lowercase (`type=hotspot`, `hotspot_image`, `hotspot_zones`):

| Field | Holds |
|---|---|
| `ANSWER` | The names of the zones, separated by `&&&` |
| `HOTSPOT_IMAGE` | The file name of the image, which must also be one of the question's images |
| `HOTSPOT_ZONES` | The zones in the order of the answers, separated by `&&&`: `{circle; X; Y; radius}` or `{rectangle; X1; Y1; X2; Y2}`, in percent |

```text
ANSWER:         West emergency exit &&& North-east emergency exit
HOTSPOT_IMAGE:  eastbrook-warehouse-plan.png
HOTSPOT_ZONES:  {circle; 8.75; 46.875; 5} &&& {circle; 87.08; 13.125; 5}
```

Drawing the zones in the hotspot editor is easier than working out the coordinates; you can copy them from the question editor afterwards.

## Limits

- Hotspot questions are available on the Pro and Business plans; the type is listed only for accounts that have it.
- The question can be used only when it has a hotspot image and exactly as many zones as correct answers.
- The type works poorly on phones and small screens, where markers are hard to place precisely; the editor says so when you choose it.
- Hotspot questions cannot be answered by pasting the question text into an AI tool. See [Keep exams meaningful when participants have AI tools](https://help.edubase.net/guides/ai-and-exam-integrity/).

## Related

- [Question types at a glance](https://help.edubase.net/questions/types/)
- [Create a question](https://help.edubase.net/questions/create/)
- [Images, audio, video, LaTeX and graphs](https://help.edubase.net/questions/media-and-math/)
- [Tolerance, partial credit, penalties, rubrics and skills](https://help.edubase.net/questions/scoring/)
- [Track safety training, licenses and in-person sessions](https://help.edubase.net/guides/ehs-training/)
