C#Beta
UI controls
Definitions for Control, Range, and the UI classes that derive from them.
Each row pairs a definition with its shorthand method. Names ending in X, Y, Z, or Alpha write one component.
76 definitions: Control · Range · ColorRect · Label · RichTextLabel · ScrollContainer · TextureProgressBar
Control
Section titled “Control”| Definition | Shorthand | Value |
|---|---|---|
Tweens.ControlAnchorBottom |
TweenAnchorBottom |
float |
Tweens.ControlAnchorLeft |
TweenAnchorLeft |
float |
Tweens.ControlAnchorMax |
TweenAnchorMax |
Vector2 |
Tweens.ControlAnchorMin |
TweenAnchorMin |
Vector2 |
Tweens.ControlAnchorRight |
TweenAnchorRight |
float |
Tweens.ControlAnchorTop |
TweenAnchorTop |
float |
Tweens.ControlCustomMaximumSize |
TweenCustomMaximumSize |
Vector2 |
Tweens.ControlCustomMaximumSizeX |
TweenCustomMaximumSizeX |
float |
Tweens.ControlCustomMaximumSizeY |
TweenCustomMaximumSizeY |
float |
Tweens.ControlCustomMinimumSize |
TweenCustomMinimumSize |
Vector2 |
Tweens.ControlCustomMinimumSizeX |
TweenCustomMinimumSizeX |
float |
Tweens.ControlCustomMinimumSizeY |
TweenCustomMinimumSizeY |
float |
Tweens.ControlGlobalPosition |
TweenGlobalPosition |
Vector2 |
Tweens.ControlGlobalPositionX |
TweenGlobalPositionX |
float |
Tweens.ControlGlobalPositionY |
TweenGlobalPositionY |
float |
Tweens.ControlOffsetBottom |
TweenOffsetBottom |
float |
Tweens.ControlOffsetLeft |
TweenOffsetLeft |
float |
Tweens.ControlOffsetRight |
TweenOffsetRight |
float |
Tweens.ControlOffsets |
TweenOffsets |
Vector4 |
Tweens.ControlOffsetTop |
TweenOffsetTop |
float |
Tweens.ControlOffsetTransformPivot |
TweenOffsetTransformPivot |
Vector2 |
Tweens.ControlOffsetTransformPivotRatio |
TweenOffsetTransformPivotRatio |
Vector2 |
Tweens.ControlOffsetTransformPivotRatioX |
TweenOffsetTransformPivotRatioX |
float |
Tweens.ControlOffsetTransformPivotRatioY |
TweenOffsetTransformPivotRatioY |
float |
Tweens.ControlOffsetTransformPivotX |
TweenOffsetTransformPivotX |
float |
Tweens.ControlOffsetTransformPivotY |
TweenOffsetTransformPivotY |
float |
Tweens.ControlOffsetTransformPosition |
TweenOffsetTransformPosition |
Vector2 |
Tweens.ControlOffsetTransformPositionRatio |
TweenOffsetTransformPositionRatio |
Vector2 |
Tweens.ControlOffsetTransformPositionRatioX |
TweenOffsetTransformPositionRatioX |
float |
Tweens.ControlOffsetTransformPositionRatioY |
TweenOffsetTransformPositionRatioY |
float |
Tweens.ControlOffsetTransformPositionX |
TweenOffsetTransformPositionX |
float |
Tweens.ControlOffsetTransformPositionY |
TweenOffsetTransformPositionY |
float |
Tweens.ControlOffsetTransformRotation |
TweenOffsetTransformRotation |
float |
Tweens.ControlOffsetTransformScale |
TweenOffsetTransformScale |
Vector2 |
Tweens.ControlOffsetTransformScaleX |
TweenOffsetTransformScaleX |
float |
Tweens.ControlOffsetTransformScaleY |
TweenOffsetTransformScaleY |
float |
Tweens.ControlPivotOffset |
TweenPivotOffset |
Vector2 |
Tweens.ControlPivotOffsetRatio |
TweenPivotOffsetRatio |
Vector2 |
Tweens.ControlPivotOffsetRatioX |
TweenPivotOffsetRatioX |
float |
Tweens.ControlPivotOffsetRatioY |
TweenPivotOffsetRatioY |
float |
Tweens.ControlPivotOffsetX |
TweenPivotOffsetX |
float |
Tweens.ControlPivotOffsetY |
TweenPivotOffsetY |
float |
Tweens.ControlPosition |
TweenPosition |
Vector2 |
Tweens.ControlPositionX |
TweenPositionX |
float |
Tweens.ControlPositionY |
TweenPositionY |
float |
Tweens.ControlRotation |
TweenRotation |
float |
Tweens.ControlScale |
TweenScale |
Vector2 |
Tweens.ControlScaleX |
TweenScaleX |
float |
Tweens.ControlScaleY |
TweenScaleY |
float |
Tweens.ControlSize |
TweenSize |
Vector2 |
Tweens.ControlSizeFlagsStretchRatio |
TweenSizeFlagsStretchRatio |
float |
Tweens.ControlSizeX |
TweenSizeX |
float |
Tweens.ControlSizeY |
TweenSizeY |
float |
| Definition | Shorthand | Value |
|---|---|---|
Tweens.RangeValue |
TweenValue |
double |
ColorRect
Section titled “ColorRect”| Definition | Shorthand | Value |
|---|---|---|
Tweens.ColorRectColor |
TweenColor |
Color |
Tweens.ColorRectColorAlpha |
TweenColorAlpha |
float |
| Definition | Shorthand | Value |
|---|---|---|
Tweens.LabelVisibleCharacters |
TweenVisibleCharacters |
int |
Tweens.LabelVisibleRatio |
TweenVisibleRatio |
float |
RichTextLabel
Section titled “RichTextLabel”| Definition | Shorthand | Value |
|---|---|---|
Tweens.RichTextLabelVisibleCharacters |
TweenVisibleCharacters |
int |
Tweens.RichTextLabelVisibleRatio |
TweenVisibleRatio |
float |
ScrollContainer
Section titled “ScrollContainer”| Definition | Shorthand | Value |
|---|---|---|
Tweens.ScrollContainerScrollHorizontal |
TweenScrollHorizontal |
int |
Tweens.ScrollContainerScrollVertical |
TweenScrollVertical |
int |
TextureProgressBar
Section titled “TextureProgressBar”| Definition | Shorthand | Value |
|---|---|---|
Tweens.TextureProgressBarRadialCenterOffset |
TweenRadialCenterOffset |
Vector2 |
Tweens.TextureProgressBarRadialCenterOffsetX |
TweenRadialCenterOffsetX |
float |
Tweens.TextureProgressBarRadialCenterOffsetY |
TweenRadialCenterOffsetY |
float |
Tweens.TextureProgressBarRadialFillDegrees |
TweenRadialFillDegrees |
float |
Tweens.TextureProgressBarRadialInitialAngle |
TweenRadialInitialAngle |
float |
Tweens.TextureProgressBarTextureProgressOffset |
TweenTextureProgressOffset |
Vector2 |
Tweens.TextureProgressBarTextureProgressOffsetX |
TweenTextureProgressOffsetX |
float |
Tweens.TextureProgressBarTextureProgressOffsetY |
TweenTextureProgressOffsetY |
float |
Tweens.TextureProgressBarTintOver |
TweenTintOver |
Color |
Tweens.TextureProgressBarTintOverAlpha |
TweenTintOverAlpha |
float |
Tweens.TextureProgressBarTintProgress |
TweenTintProgress |
Color |
Tweens.TextureProgressBarTintProgressAlpha |
TweenTintProgressAlpha |
float |
Tweens.TextureProgressBarTintUnder |
TweenTintUnder |
Color |
Tweens.TextureProgressBarTintUnderAlpha |
TweenTintUnderAlpha |
float |
Units and constraints
Section titled “Units and constraints”Controlanchors use push-opposite behavior. Minimum and maximum sizes and containers still apply.- The
OffsetTransformproperties requireOffsetTransformEnabled = true. They move and scale a control visually without rewriting its container-controlledPositionandSize. The pivot and positionRatiovariants are relative toControl.Size. VisibleCharacters,ScrollHorizontal, andScrollVerticalare integers. A negativeVisibleCharacterskeeps its native meaning, so setFrom = 0explicitly for a reveal. Set up scrollable content before tweening a scroll.- Radial progress angles use degrees.
tweens.gd is made with math & ferrets, copyright © 2026 its contributors.
Godot logo by Andrea Calabró, licensed under CC BY 4.0.
"Easy, the Ferret" illustrations drawn by foxy_maria.
tweens.gd is released under the MIT License.
Godot is licensed under the MIT License.
tweens.gd is not affiliated with or endorsed by the Godot Foundation.