Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
CompositeValueCurveType
Describes the type of value animated by a CompositeValueCurve.
Items
| Name | Value | Description |
|---|---|---|
| ColorRGB | 0 | The CompositeValueCurve will animate children of type FloatCurve named "R", "G", and "B" to animate the corresponding components of the Color3 value returned by the method CompositeValueCurve:GetValueAtTime(). |
| ColorHSV | 1 | The CompositeValueCurve will animate children of type FloatCurve named "H", "S", and "V" to animate hue, saturation, and value of a color that will be converted to RGB before returning a Color3 value from the method CompositeValueCurve:GetValueAtTime(). |
| NumberRange | 2 | The CompositeValueCurve will animate children of type FloatCurve named "Min" and "Max" to animate the corresponding components of the NumberRange value returned by the method CompositeValueCurve:GetValueAtTime(). |
| Rect | 3 | The CompositeValueCurve will animate children of type FloatCurve named "MinX", "MaxX", "MinY", and "MaxY" to animate the corresponding components of the Rect value returned by the method CompositeValueCurve:GetValueAtTime(). |
| UDim | 4 | The CompositeValueCurve will animate children of type FloatCurve named "Scale" and "Offset" to animate the corresponding components of the UDim value returned by the method CompositeValueCurve:GetValueAtTime(). |
| UDim2 | 5 | The CompositeValueCurve will animate children of type FloatCurve named "ScaleX", "OffsetX", "ScaleY", and "OffsetY" to animate the corresponding components of the UDim2 value returned by the method CompositeValueCurve:GetValueAtTime(). |
| Vector2 | 6 | The CompositeValueCurve will animate children of type FloatCurve named "X" and "Y" to animate the corresponding components of the Vector2 value returned by the method CompositeValueCurve:GetValueAtTime(). |
| Vector3 | 7 | The CompositeValueCurve will animate children of type FloatCurve named "X", "Y", and "Z" to animate the corresponding components of the Vector3 value returned by the method CompositeValueCurve:GetValueAtTime(). |
ColorRGB
The CompositeValueCurve will animate children of type FloatCurve named "R", "G", and "B" to animate the corresponding components of the Color3 value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 0 |
ColorHSV
The CompositeValueCurve will animate children of type FloatCurve named "H", "S", and "V" to animate hue, saturation, and value of a color that will be converted to RGB before returning a Color3 value from the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 1 |
NumberRange
The CompositeValueCurve will animate children of type FloatCurve named "Min" and "Max" to animate the corresponding components of the NumberRange value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 2 |
Rect
The CompositeValueCurve will animate children of type FloatCurve named "MinX", "MaxX", "MinY", and "MaxY" to animate the corresponding components of the Rect value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 3 |
UDim
The CompositeValueCurve will animate children of type FloatCurve named "Scale" and "Offset" to animate the corresponding components of the UDim value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 4 |
UDim2
The CompositeValueCurve will animate children of type FloatCurve named "ScaleX", "OffsetX", "ScaleY", and "OffsetY" to animate the corresponding components of the UDim2 value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 5 |
Vector2
The CompositeValueCurve will animate children of type FloatCurve named "X" and "Y" to animate the corresponding components of the Vector2 value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 6 |
Vector3
The CompositeValueCurve will animate children of type FloatCurve named "X", "Y", and "Z" to animate the corresponding components of the Vector3 value returned by the method CompositeValueCurve:GetValueAtTime().
| Field | Value |
|---|---|
| value | 7 |