Features/Interactions

Interaction scope

Limit an interaction to certain pages, screen sizes, pointer types or a named state.

Scope decides where an interaction runs. You can restrict it to chosen pages, to screen sizes based on the site's breakpoints, to mouse or touch devices, or to when a state has (or does not have) a value. This is how a global interaction runs only on the blog, or a hover effect is skipped on touch screens.

How it works

  • Only On Pages: list of pages; empty means every page.
  • Only On Screens: presets built from the site's breakpoints: Any screen, <breakpoint> and smaller (max-width), Wider than <breakpoint> (min-width), and <largest> and wider.
  • Only If State: state name, Is (Equal to / Not equal to), Value.
  • Only With: Any pointer, Mouse or pen (fine), Touch (coarse).
  • Scope fields exist only for engine 2 interactions (all new ones).

When to use it

  • Disable a parallax on phones
  • Run a global animation only on the home page
  • Hover effects only for mouse users

Limitations

  • Not available on interactions created before engine 2.

Availability

  • Works in Designer.
  • Included in every plan.

How to use it.

  1. Open an interaction.
  2. Fill in the Scope group: pages, screens, state, pointer.

Questions.

Do screen options follow my custom breakpoints?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.