# Shift Section

> Give a group of controls a second layer in the same area using a Shift Section with Main and Shift pages.

Use a Shift Section when a group of primary controls needs a secondary layer in the same area of a position. The section starts with a **Main** page and a **Shift** page, plus a built-in Shift control for moving between them.

For example, the **Main** page can recall PTZ camera presets while the **Shift** page saves the current camera position to those presets. The two related functions then use the same part of the surface.

<callout color="green" title="Tip">
  You can hide the built-in Shift control and use the internal action **Set Active Page** to create custom navigation between **Main** and **Shift**.
</callout>

## Create a Shift Section

1. Open the position editor.
2. Click an empty canvas cell, then drag across the area the Shift Section should occupy.

![A single canvas cell selected, marked by a dashed bounding box](https://bitfocus.io/api/docs-media/file/select-first-cell-3.png?prefix=docs-media)

![The selection dragged across an 8 by 2 area for the Shift Section, showing the hint “Right click to create…”](https://bitfocus.io/api/docs-media/file/drag-to-size-section-4.png?prefix=docs-media)

3. Right-click the selection and choose **Shift Section**, or press `Shift`+`S`.

![The right-click menu open on the selection, with Shift Section highlighted under Create… and its Shift+S shortcut shown](https://bitfocus.io/api/docs-media/file/create-shift-section-menu-1.png?prefix=docs-media)

4. Select the section and open the **Navigation** tab in the inspector.

![The new Shift Section on the canvas with its built-in Shift control in the top-left cell, and Main and Shift page buttons in its label bar](https://bitfocus.io/api/docs-media/file/shift-section-created-1.png?prefix=docs-media)

![The Navigation tab listing the Main and Shift pages, with the Folders/Shift Buttons, Return Button, and Scroll settings below](https://bitfocus.io/api/docs-media/file/shift-navigation-tab.png?prefix=docs-media)

The **Pages** list contains **Main** and **Shift**. The position editor shows the controls assigned to the currently selected page. You can also switch page with the **Main** and **Shift** buttons in the section's label bar on the canvas.

## Add the primary controls

1. Select **Main** in the **Pages** list.
2. Add the buttons that should appear as the primary controls.
3. For the PTZ example, add buttons that recall the required camera presets.

Buttons placed on **Main** appear while the Shift Section is on its primary layer.

![The Main page selected in the section's label bar, showing green Recall buttons numbered 1 to 13 beside the Shift control](https://bitfocus.io/api/docs-media/file/main-page-recall-buttons-1.png?prefix=docs-media)

## Add the secondary controls

1. Select **Shift** in the **Pages** list.
2. Add the buttons for the secondary function.
3. For the PTZ example, add buttons that save the current camera position to the corresponding presets.

The built-in Shift control switches the section between **Main** and **Shift**. Its position can be changed under **Folders/Shift Buttons** in the inspector.

![The Shift page selected in the section's label bar, showing red Save buttons numbered 1 to 13 in the same cells the Recall buttons occupy on Main](https://bitfocus.io/api/docs-media/file/shift-page-save-buttons-1.png?prefix=docs-media)

Select **Apply** to save the Shift Section and its controls.

## Use custom navigation

Under **Folders/Shift Buttons**, turn off the built-in page control when the layout uses its own navigation buttons. Add the internal action **Set Active Page** to a button and choose the page it should open.

Separate buttons can open **Main** and **Shift**, or other actions can change the active page as part of a larger control sequence.

## Where to go next

- [Turn on scrolling](/docs/buttons/v1.10/positions/basic-sections#make-additional-controls-reachable) when either layer contains more controls than the visible section can display.
- Use a [Folder Section](/docs/buttons/v1.10/positions/folder-sections) when the controls need more than a primary and secondary layer.
- A Shift Section has no **Authentication** tab of its own. Only a plain [Section](/docs/buttons/v1.10/positions/basic-sections#protect-critical-controls-when-needed) and a [Role Section](/docs/buttons/v1.10/positions/role-sections) can require a role, PIN, or NFC credential.
