# Slider Parameter

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:

```lua
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.
})
```

<figure><img src="https://2544013832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9bK8pux8ECQEv3nGxVN%2Fuploads%2Fo0YIxoDVrnUo6L55GBrQ%2Fimage%20(7).png?alt=media&#x26;token=6932e3c1-72f5-4a5f-917f-beb5784e0e1f" alt=""><figcaption></figcaption></figure>

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