# Scroll Snap

![](/files/-MbS-BpIJeozLWs2IYZh)

**Scroll Snap** is a focused UI component that helps you create an equally sized page-based scroll area.

The main point of **Scroll Snap** is to look, work and feel like a native Unity component that gives you fundamental functionality and makes it easy to build upon.

You can buy it at [Unity Asset Store](http://u3d.as/2A2H)

## Usage

You can create a ScrollSnap item already prepared for basic use just like any other Unity UI component. You can **right-click** in the **Hierarchy** window, **select UI,** and then **Scroll Snap** to create a ready-to-use object.

Alternatively, you can add it to your UI game object from the **Components/UI/ScrollSnap** menu.

<div align="center"><img src="/files/-MbNFhyfvw89nLXLXem6" alt=""></div>

## Features

* Simple, generalized, and well-documented code and UI.
* Infinite Scroll ability.
* 6 demo scenes with different use cases.
* Horizontal and Vertical scroll ability, supported by swipe gestures and buttons.
* Left/Right and Top/Bottom alignment.
* UI Gizmos to display immediate feedback about variable changes.
* Runtime layout change. Helps you add or remove pages in play mode.
* Scroll out of the first and the last page within a given margin for elasticity.
* Custom scroll activation area to decide how early snap can be activated.
* Snap speed from slow to immediate page change.
* Page Changed event for notifying subjects.

## Changelog

### 05.06.2021 - Initial Release


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sercan-altundas.gitbook.io/asset-store/ui-components/scroll-snap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
