# Slider

## Properties

These are the properties of Slider, you can both read and write them

***

```lua
slider.Title = "My Slider"
slider.Description = "This is my Slider"
slider.LayoutOrder = 1 -- if not given its in order of time added
slider.Value = 0 -- default
slider.Max = math.huge -- default
slider.Min = -math.huge -- default
```

***

## Methods

These are the methods of Slider

***

### Remove

```lua
slider:Remove()
```

* Removes the Slider from the page

***

## Events

These are the events of Slider

***

### On Slider Updated

```lua
slider.ValueUpdated:Connect(function(num: number)
    print(num)
end)
```

* Fires when the Slider value has changed but the input isnt yet released, \
  use this to refresh visible content

***

### On Value Changed

```lua
slider.ValueUpdated:Connect(function(num: number)
    print(num)
end)
```

* Fires when the Slider value has changed and the input has been released,\
  use this to take actions


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://riky47s-organization.gitbook.io/arceus-x/extensions/ui-library/page/slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
