Creator Docs

Slider

A slider is a bar with a handle that the reader drags. The handle is called the thumb. Use a slider for settings, such as the music volume.

The layout editor on a phone with the Main Menu layout. The Music Volume slider is in the middle of the canvas, with its thumb in the middle of the bar. Its settings are open. The layout editor on desktop with the Main Menu layout. The Music Volume slider is in the middle of the canvas, with its thumb in the middle of the bar. Its settings are open.

This example makes a music volume bar. It uses 4 pictures: volume-bar, volume-thumb, volume-bar-hover, and volume-thumb-hover. Upload your own pictures for the bar and the thumb first. See Upload images.

Add a slider

  1. Open a layout in the layout editor. See Open a layout.

  2. Open the Add Element menu.

    • Phone or tablet: Long press (touch and hold) the empty space under the Elements list.
    • Desktop: Right-click (click with the right mouse button) the empty space under the Elements list.
  3. Tap Slider. The Create Slider box opens.

    The Add Element menu on a phone, open under the empty Elements list of the Main Menu layout. Slider is marked. The Add Element menu on desktop, open under the empty Elements list of the Main Menu layout. Slider is marked.
  4. Under Name, type a name, such as Music Volume.

  5. Under Direction, keep Horizontal. For a slider that goes up and down, choose Vertical.

  6. Under Bar Image, tap Select bar image. Tap a picture, such as volume-bar. Then tap OK.

  7. Under Thumb Image, tap Select thumb image. Tap a picture, such as volume-thumb. Then tap OK.

    The Create Slider box on a phone. Music Volume is typed under Name, and Horizontal is chosen under Direction. The pictures volume-bar and volume-thumb are chosen under Bar Image and Thumb Image. Name, Bar Image, and Thumb Image are marked. The Create Slider box on desktop. Music Volume is typed under Name, and Horizontal is chosen under Direction. The pictures volume-bar and volume-thumb are chosen under Bar Image and Thumb Image. Name, Bar Image, and Thumb Image are marked.
  8. Optional: Under Hover Bar Image and Hover Thumb Image, choose pictures in the same way. They show while the reader points at the slider with the mouse.

  9. Tap Create Slider.

    The bottom of the Create Slider box on a phone. The pictures volume-bar-hover and volume-thumb-hover are chosen under Hover Bar Image and Hover Thumb Image, and marked. The Create Slider button is marked. The bottom of the Create Slider box on desktop. The pictures volume-bar-hover and volume-thumb-hover are chosen under Hover Bar Image and Hover Thumb Image, and marked. The Create Slider button is marked.

The slider shows in the top left corner of the canvas. It is 400 pixels wide and 20 pixels high. So the bar picture is squeezed to fit, and the thumb is small.

Change the size and the place

  1. In the Elements list, tap the slider. Its settings open.

  2. Under Transform, change Width to 600 and Height to 56. This is the size of the bar picture. To change a number, tap it, type the new number, and tap Submit.

  3. Change Position X to 660 and Position Y to 512.

    The settings of the Music Volume slider on a phone. Position X is 660, Position Y is 512, Width is 600, and Height is 56. The 4 numbers are marked. On the canvas, the slider is in the middle, marked. The settings of the Music Volume slider on desktop. Position X is 660, Position Y is 512, Width is 600, and Height is 56. The 4 numbers are marked. On the canvas, the slider is in the middle, marked.

The slider is now in the middle of the screen. A slider has no Anchor. So Position X and Position Y set its top left corner. On a 1920 x 1080 screen, these numbers put the slider in the middle.

Change the music volume with the slider

A slider changes nothing by itself. To make it change the music volume, do both parts below.

Start at the music volume

  1. Under Slider Values, tap the list next to Value.

  2. Tap Music Volume.

    The Slider Values settings of the slider on a phone. Music Volume is chosen next to Value, and marked. On the canvas, the thumb is in the middle of the bar. The Slider Values settings of the slider on desktop. Music Volume is chosen next to Value, and marked. On the canvas, the thumb is in the middle of the bar.

The thumb now starts at the music volume of the reader.

Set the music volume when the reader drags

  1. Next to Actions, tap +. Then tap Change.

    The settings of the slider on a phone. The menu of the + button next to Actions is open, and Change is marked. The settings of the slider on desktop. The menu of the + button next to Actions is open, and Change is marked.

    The Actions box opens.

  2. Scroll down. Tap Set Music Volume.

    The Actions box on a phone, scrolled down. Set Music Volume is marked. The Actions box on desktop, scrolled down. Set Music Volume is marked.
  3. Under Set To, tap Current Value. Current Value is the value of the slider.

  4. Tap Submit.

    The Set Music Volume box on a phone. Under Set To, Current Value is chosen, and marked. The Submit button is marked. The Set Music Volume box on desktop. Under Set To, Current Value is chosen, and marked. The Submit button is marked.

Now the music volume changes while the reader drags the thumb.

Slider settings

Setting What it does
Slider Bar The pictures of the bar: Default, and Hover if you add one.
Slider Thumb The pictures of the thumb: Default, and Hover if you add one.
Value Manual, or a setting of the reader: Dialogue Text Speed, Auto Forward Delay, Sound Volume, Music Volume, or Save/Load Pagination. With a setting, the thumb starts at its value.
Initial Where the thumb starts. Only with Manual.
Min and Max The values at the two ends of the bar.
Step How much the value changes at a time. For example, with a Step of 10, the value goes 0, 10, 20, and so on.

To change a picture, tap it under Slider Bar or Slider Thumb.

The other settings, such as Visibility and Actions, are the same for most elements. See Change an element's settings.

Good to know

  • The thumb is as tall as the slider. So make your bar picture as tall as the thumb. Draw a thin bar in the middle, with empty space above and below it.
  • You cannot change the Direction of a slider after you create it. To change it, make a new slider.

Next steps