Skip to main content
Triggers

Triggers are inputs that cause actions to fire.

Updated over a week ago

Overview

Triggers are the "cause" of an interaction. Triggers fire based on input from a user (like a tap or drag across the screen) or from an event (like a view loading or a variable value changing).

Triggers are added to objects in Interaction Mode. Triggers will cause actions to fire. Together, triggers and actions create an interaction.

There are two types of triggers:

  • Single triggers fire once when the input is activated, like when a user taps a button.

  • Continuous triggers fire continuously over the course of an input, like when a user scrolls through a page.

Some triggers have multiple states, some of which qualify as single triggers, and some of which are continuous triggers.


Types of Triggers

A single trigger that fires when the user taps an object.

A single trigger that fires when a user touches an object or removes their touch from an object.

A single or continuous trigger that fires when the user presses on an object.

A single or continuous trigger that fires when the user pans across an object.

A single or continuous trigger that fires when the user pans from an edge of the device screen.

A single or continuous trigger that fires as the user scrolls.

A continuous trigger that fires every X seconds.

A single trigger that fires when the user shakes their device.

A continuous trigger that fires based on the device's gyroscope.

A single trigger that fires when an event occurs.

A single or continuous trigger that fires when the user slides a native slider.

A single trigger that fires when the user toggles a native switch.

A single trigger that fires when the user interacts with a native segmented control.

A single trigger that fires when the user changes a native stepper's value.

A single or continuous trigger that fires when the user interacts with a native text field.

A single trigger that fires when the user selects a value from a native picker.

A single trigger that fires when the user selects a date or time from a native date picker.

A single trigger that fires when the user interacts with a native map's pins.

A single trigger that fires when a page loader's content is updated.

A single trigger that fires as an image element's content loads.

A single trigger that fires when the user interacts with an editable text element.

A single trigger that fires when a native Rive event occurs.

Did this answer your question?