Skip to main content
All CollectionsInteractionsPrefabs
Drag & Drop Grid Prefab (Pan)

Drag & Drop Grid Prefab (Pan)

A prefab that adds items to a grid and allows users to rearrange them.

Updated this week

Overview

Drag & Drop Grid prefabs turn a list of items into a grid and allow items to be rearranged by dragging and dropping into a new position.

Drag & Drop Grid prefabs should be added to the parent of the objects you'd like to reorder.


Prefab Controls

Columns

Set the number of columns in the grid.

Spacing

Set the gap spacing between the rows and columns.

Scale

Set the selected object's scale while dragging.

Opacity

Set the selected object's opacity while dragging.

Duration

Set the length of the object's animation when released ("dropped").

Spring

Set the spring amount. Higher spring values bounce more, while lower spring values bounce less.

Touch Delay

Set the length of time the user must touch the selected object before it becomes draggable.

Auto Height

Choose if the parent's height should be set to Auto and hug the children.


Resources

Projects:

Did this answer your question?