Bird
Raised Fist0
Figmabi_tool~10 mins

Prototype presentation mode in Figma - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the prototype presentation from the current frame.

Figma
figma.showUI(__html__);
figma.ui.postMessage({ type: '[1]' });
Drag options to blanks, or click blank then click option'
Astart-prototype
Bopen-settings
Cclose-prototype
Drefresh-ui
Attempts:
3 left
💡 Hint
Common Mistakes
Using a message type that does not start the prototype.
Confusing UI refresh with prototype start.
2fill in blank
medium

Complete the code to exit the prototype presentation mode.

Figma
figma.notify('[1]');
figma.closePlugin();
Drag options to blanks, or click blank then click option'
APrototype exited
BExiting prototype mode
CClosing plugin
DPrototype ended
Attempts:
3 left
💡 Hint
Common Mistakes
Using vague or unrelated notification messages.
Not notifying the user after closing the plugin.
3fill in blank
hard

Fix the error in the code to correctly toggle the prototype presentation mode.

Figma
if (figma.currentPage.selection.length > 0) {
  figma.showUI(__html__);
  figma.ui.postMessage({ type: '[1]' });
} else {
  figma.notify('Select a frame to start prototype');
}
Drag options to blanks, or click blank then click option'
Astop-prototype
Bpause-prototype
Cstart-prototype
Dtoggle-prototype
Attempts:
3 left
💡 Hint
Common Mistakes
Using unsupported message types like 'toggle-prototype'.
Not checking if a frame is selected before starting.
4fill in blank
hard

Fill both blanks to send a message that navigates to the next frame in prototype mode and notifies the user.

Figma
figma.ui.postMessage({ type: '[1]' });
figma.notify('[2]');
Drag options to blanks, or click blank then click option'
Anext-frame
BPrevious frame
CNavigated to next frame
Dprev-frame
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up next and previous frame commands.
Using notifications that do not match the action.
5fill in blank
hard

Fill all three blanks to create a function that starts the prototype, waits 2 seconds, then notifies the user.

Figma
async function startPrototype() {
  figma.showUI(__html__);
  figma.ui.postMessage({ type: '[1]' });
  await new Promise(resolve => setTimeout(resolve, [2]));
  figma.notify('[3]');
}
Drag options to blanks, or click blank then click option'
Astart-prototype
B2000
CPrototype started
Dstop-prototype
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect message types.
Setting the wrong wait time or notification message.

Practice

(1/5)
1. What is the main purpose of Prototype presentation mode in Figma?
easy
A. To export images and assets
B. To edit vector shapes and colors
C. To write code for your design
D. To interact with your design like a real app

Solution

  1. Step 1: Understand Prototype presentation mode

    This mode allows you to click through your design as if it were a working app.
  2. Step 2: Compare with other Figma features

    Editing shapes or exporting assets are done in other modes, not prototype presentation.
  3. Final Answer:

    To interact with your design like a real app -> Option D
  4. Quick Check:

    Prototype presentation mode = interact like app [OK]
Hint: Prototype mode = test design interaction [OK]
Common Mistakes:
  • Confusing prototype mode with design editing
  • Thinking prototype mode is for coding
  • Mixing export features with prototype mode
2. Which of the following is the correct way to start Prototype presentation mode in Figma?
easy
A. Press Ctrl + E to export the file
B. Click the Play button in the top-right corner
C. Double-click a frame to edit it
D. Right-click and select 'Duplicate'

Solution

  1. Step 1: Locate the Prototype presentation mode start

    The Play button in the top-right corner starts the prototype presentation.
  2. Step 2: Eliminate other options

    Exporting, editing, or duplicating are unrelated to starting prototype mode.
  3. Final Answer:

    Click the Play button in the top-right corner -> Option B
  4. Quick Check:

    Play button = start prototype [OK]
Hint: Play button starts prototype mode [OK]
Common Mistakes:
  • Confusing export shortcut with prototype start
  • Trying to edit instead of present
  • Using right-click for prototype start
3. In Prototype presentation mode, if you set a link from Frame A to Frame B on a button, what happens when you click that button during presentation?
medium
A. The prototype navigates to Frame B
B. Nothing happens because links don't work in presentation
C. The button edits the frame content
D. The prototype closes automatically

Solution

  1. Step 1: Understand link behavior in prototype mode

    Links between frames allow navigation when clicked during presentation.
  2. Step 2: Analyze other options

    Links do work, buttons don't edit content, and prototype does not close automatically.
  3. Final Answer:

    The prototype navigates to Frame B -> Option A
  4. Quick Check:

    Click linked button = go to linked frame [OK]
Hint: Click linked button = navigate frame [OK]
Common Mistakes:
  • Thinking links don't work in presentation
  • Confusing prototype with design editing
  • Expecting prototype to close on click
4. You set up a prototype but clicking a button during presentation does nothing. What is the most likely cause?
medium
A. The frame is locked
B. The prototype mode is off
C. The button has no interaction link set
D. The file is not saved

Solution

  1. Step 1: Check interaction setup

    If clicking does nothing, likely no link or interaction is assigned to the button.
  2. Step 2: Consider other causes

    Prototype mode must be on to test; frame locking or saving does not block clicks in presentation.
  3. Final Answer:

    The button has no interaction link set -> Option C
  4. Quick Check:

    No click response = no interaction link [OK]
Hint: No click action? Check interaction link [OK]
Common Mistakes:
  • Assuming prototype mode is off without checking
  • Thinking locked frames block prototype clicks
  • Believing saving affects prototype interaction
5. You want to test a user flow where clicking a menu opens a submenu and then clicking an item navigates to a detail page. How should you set this up in Prototype presentation mode?
hard
A. Link the menu to the submenu frame, then link submenu items to detail frames
B. Create one big frame with all menus and detail pages visible
C. Use the Design mode to group all elements without links
D. Export each frame separately and test outside Figma

Solution

  1. Step 1: Set up navigation links between frames

    Link the menu frame to the submenu frame to simulate opening the submenu.
  2. Step 2: Link submenu items to their detail frames

    Each submenu item should link to its corresponding detail page frame for navigation.
  3. Step 3: Avoid incorrect setups

    One big frame or design mode grouping won't simulate user flow; exporting frames separately is not prototype testing.
  4. Final Answer:

    Link the menu to the submenu frame, then link submenu items to detail frames -> Option A
  5. Quick Check:

    Sequential links = user flow test [OK]
Hint: Chain frame links to test user flows [OK]
Common Mistakes:
  • Trying to put all screens in one frame
  • Not linking submenu items to detail pages
  • Confusing design mode with prototype mode