Prototyping
Use prototype mode to connect your screens into a flow. Then play the flow and click through it like a real device. You do not change layers in prototype mode.
Open prototype mode
Select Prototype in the editor sidebar. The canvas shows your screens, their links, and their hotspots. The toolbar shows the Select tool, the Hotspot tool, and Play. Select Layers to edit your artwork again.
The page address ends with #prototype in prototype mode. A reload or a shared link opens the editor in prototype mode.
Link two screens
- Move the pointer over a screen. A round handle shows on the right edge of the screen.
- Drag the handle to a different screen.
- Release the pointer. An arrow connects the two screens.
You can also click the handle. A menu shows the other screens. Select a screen to link to it.
The first link sets its screen as the starting screen. Lopaka shows the Start badge on that screen. When you remove the last link, no screen is the starting screen and the Start badge goes away.
Add a hotspot
A hotspot is a clickable area of a screen.
- Select the Hotspot tool (H).
- Drag on a screen to draw the area.
- Drag the round handle of the hotspot to a different screen.
Drag a selected hotspot to move it. Drag its corners to change its size. Press Delete to remove it.
Link a layer
Any layer of a screen can be a clickable area.
- Click a layer on the canvas. Lopaka shows an outline and a round handle on the layer.
- Drag the handle to a different screen.
In the preview, a click on the layer opens that screen. To remove the link of a layer, select the layer and press Delete. The layer stays on the screen.
Change a link
Click a link to select it.
To connect a link to a different screen, drag the end of its arrow to that screen. To remove a link, drag the end of its arrow to an empty part of the canvas, or select Remove.
A screen or a hotspot has one link. A new link from it replaces the old one.
Play the prototype
Select Play or press Ctrl/Cmd+Enter. The preview starts on the selected screen. If no screen is selected, it starts on the starting screen.
If the prototype has no links, the preview shows all screens in their order. If the prototype has links, the preview shows only the starting screen and the screens that have links.
| Action | Result |
|---|---|
| Click a hotspot | Opens the screen of the hotspot link. |
| Click a different area | Shows the hotspots and the linked layers of the screen for a short time. |
| Right arrow | Opens the screen that the screen links to. If the screen has no link, opens the next screen. |
| Left arrow | Opens the screen that you saw before. If there is none, opens the previous screen. |
| Backspace | Opens the screen that you saw before. |
| R | Starts the prototype again. |
| Esc | Closes the preview. |