Exe 6
  • What's Exe 6?
  • Get Started
    • Purchasing
  • Installation
  • Authentication
  • Roles
  • Configuration
  • Custom Commands
    • Getting Started
    • Attributes
    • Parameters
      • Player Parameter
      • Slider Parameter
      • Text Box parameter
      • Boolean Parameter
      • Enum Parameter
    • Receiving Events
    • Demostration
  • APPS
    • Introduction to Apps
    • Prepare
    • Publish
    • Submit
    • Update
    • App Guidelines
Powered by GitBook
On this page
  1. Custom Commands
  2. Parameters

Slider Parameter

PreviousPlayer ParameterNextText Box parameter

Last updated 1 month ago

The slider parameter creates a modern slider that allows you to return a value without typing anything, Just dragging, Thats it!

How to register it?

Code:

MyCommand:AddParameter("Slider", {
	Name = "Amazing Slider", --// Parameter name.

	SliderDefault = 50, --// Default value when the slider is opened.
	SliderIncrement = 10, --// Increment between the values.
	SliderRange = NumberRange.new(0, 100), --// Minimum value & Maximum value.
})

If you did it correctly, You should see the parameter appear on the parameters section.