Skip to main content
All CollectionsInteractionsPrefabs
Flick to Bounds Prefab (Pan)

Flick to Bounds Prefab (Pan)

A prefab that moves an object to the boundary of its container.

Updated this week

Overview

A Flick to Bounds prefab moves an object to the boundary of its container when a user "flicks" it, meaning the user pans quickly on the object. Flick to Bounds prefabs are often paired with Drag Around prefabs.

Flick to Bounds prefabs should be placed on the object that you want to flick.


Prefab Controls

Up

Choose if the user can flick up.

Down

Choose if the user can flick down.

Left

Choose if the user can flick left.

Right

Choose if the user can flick right.

Threshold

Set the threshold for when the prefab should fire. The higher the threshold, the faster the user must flick for the prefab to fire.

Duration

Set the length of the animation.

Spring

Set the easing curve for the animation. Higher spring values add more bounce to the animation.

Haptics

Choose if a light impact haptic should play when the user starts and stops dragging the object.


Resources

Projects:

Did this answer your question?