This video shows how to build a Figma prototype in which the app header hides as the user scrolls down and reappears when they scroll back to the top. The description says the trick applies to both web and mobile app prototyping.
What you’ll learn
✓Build a Figma prototype where the header hides on scroll down
✓Set up the header to reappear when the user scrolls back up