Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Studio

Open Unity Studio

Unity Studio

​
​
Unity Studio
  • What's new in Unity Studio
  • Introduction to Unity Studio
  • Launch Unity Studio
  • Create your first Unity Studio project
  • Develop with Unity Studio
    • The Unity Studio interface
    • Save your progress
    • GameObjects
    • Assets
    • Materials
    • Scene settings
    • Logic
    • The UI Creator
      • UI Canvas
      • Button
      • Text
      • Input Field
      • Image
      • Web View
      • Video
      • Toggle
      • Slider
    • Animation
    • AI features
  • Collaborate in Unity Studio
  • Export drafts to the Unity Editor
  • Publish and share
  • Troubleshooting Unity Studio issues
  • Report bugs and share feedback
  • Manage your analytics and marketing preferences
  1. Unity Studio
  2. Develop with Unity Studio
  3. UI Creator

Slider

Add a slider to your User Interface (UI).
Read time 2 minutes
Last updated 22 days ago

Use the Slider element to create a slider control that users can drag to select a value from a range in your User Interface (UI). This is useful for settings like volume control, brightness adjustment, or any other adjustable parameter.
You can also use sliders to create progress bars that indicate the completion status of a task.

Slider properties

The following properties are available for you to customize in the slider's Inspector panel:

Property

Description

InteractableEnable to allow the user to interact with the slider. Disable to prevent interaction, which means the slider doesn't respond to user input.
Fill RectAssign an object that contains a RectTransform component (such as an Image) to visually represent the slider's fill area (the filled part of the slider).
Handle RectAssign an object that contains a RectTransform component (such as an Image) to visually represent the slider's handle.
DirectionSet the fill direction of the slider:
  • Left To Right: Starts at the left wih no fill and fills to the right as the value increases.
  • Right To Left: Starts at the right with no fill and fills to the left as the value increases.
  • Top To Bottom: Starts at the top with no fill and fills to the bottom as the value increases.
  • Bottom To Top: Starts at the bottom with no fill and fills to the top as the value increases.
Min ValueSet the minimum value of the slider.
Max ValueSet the maximum value of the slider.
Whole NumbersEnable to restrict the slider to whole number values only. Disable to allow decimal values.
ValueSet the current value of the slider.

Additional resources

  • Unity Engine - UI Slider Documentation
  • UI Creator
  • UI Canvas
  • Button
  • Text
  • Input Field
  • Image
  • Web View
  • Video
  • Toggle

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Slider properties

    • Additional resources


Report a problem with this page