# :DragFloat

```typescript
type DragFloat = {
	Format: string?,
	Label: string?,
	Minimum: number?,
	Maximum: number?,
	Value: number?,
	Callback: (DragFloat, number) -> nil,

	SetValue: (DragFloat, number) -> DragFloat,
} & DragInt
```

### Example usage:

```lua
:DragFloat({
    Maximum = 1,
    Minimum = 0,
    Value = 0.5
})
```

### **Theme colors:**

| Tag                 | Affects                 |
| ------------------- | ----------------------- |
| FrameBg             | Background color        |
| FrameBgTransparency | Background transparency |
| Text                | Text color              |
| TextFont            | Text font               |
| TextSize            | Text font size          |
