Skip to content
tweens.gd

GDScriptBeta

UI controls

Helpers for Control, Range, and the UI classes that derive from them.

Each row pairs a helper with the property path it tweens. Names ending in _x, _y, _z, or _alpha write one component.

76 helpers: Control · Range · ColorRect · Label · RichTextLabel · ScrollContainer · TextureProgressBar

HelperPropertyValue
control_anchor_bottomanchor_bottomfloat
control_anchor_leftanchor_leftfloat
control_anchor_maxanchor_right, anchor_bottomVector2
control_anchor_minanchor_left, anchor_topVector2
control_anchor_rightanchor_rightfloat
control_anchor_topanchor_topfloat
control_custom_maximum_sizecustom_maximum_sizeVector2
control_custom_maximum_size_xcustom_maximum_size:xfloat
control_custom_maximum_size_ycustom_maximum_size:yfloat
control_custom_minimum_sizecustom_minimum_sizeVector2
control_custom_minimum_size_xcustom_minimum_size:xfloat
control_custom_minimum_size_ycustom_minimum_size:yfloat
control_global_positionglobal_positionVector2
control_global_position_xglobal_position:xfloat
control_global_position_yglobal_position:yfloat
control_offset_bottomoffset_bottomfloat
control_offset_leftoffset_leftfloat
control_offset_rightoffset_rightfloat
control_offset_topoffset_topfloat
control_offset_transform_pivotoffset_transform_pivotVector2
control_offset_transform_pivot_ratiooffset_transform_pivot_ratioVector2
control_offset_transform_pivot_ratio_xoffset_transform_pivot_ratio:xfloat
control_offset_transform_pivot_ratio_yoffset_transform_pivot_ratio:yfloat
control_offset_transform_pivot_xoffset_transform_pivot:xfloat
control_offset_transform_pivot_yoffset_transform_pivot:yfloat
control_offset_transform_positionoffset_transform_positionVector2
control_offset_transform_position_ratiooffset_transform_position_ratioVector2
control_offset_transform_position_ratio_xoffset_transform_position_ratio:xfloat
control_offset_transform_position_ratio_yoffset_transform_position_ratio:yfloat
control_offset_transform_position_xoffset_transform_position:xfloat
control_offset_transform_position_yoffset_transform_position:yfloat
control_offset_transform_rotationoffset_transform_rotationfloat
control_offset_transform_scaleoffset_transform_scaleVector2
control_offset_transform_scale_xoffset_transform_scale:xfloat
control_offset_transform_scale_yoffset_transform_scale:yfloat
control_offsetsoffset_left, offset_top, offset_right, offset_bottomVector4
control_pivot_offsetpivot_offsetVector2
control_pivot_offset_ratiopivot_offset_ratioVector2
control_pivot_offset_ratio_xpivot_offset_ratio:xfloat
control_pivot_offset_ratio_ypivot_offset_ratio:yfloat
control_pivot_offset_xpivot_offset:xfloat
control_pivot_offset_ypivot_offset:yfloat
control_positionpositionVector2
control_position_xposition:xfloat
control_position_yposition:yfloat
control_rotationrotationfloat
control_scalescaleVector2
control_scale_xscale:xfloat
control_scale_yscale:yfloat
control_sizesizeVector2
control_size_flags_stretch_ratiosize_flags_stretch_ratiofloat
control_size_xsize:xfloat
control_size_ysize:yfloat
HelperPropertyValue
range_valuevaluefloat
HelperPropertyValue
color_rect_colorcolorColor
color_rect_color_alphacolor:afloat
HelperPropertyValue
label_visible_charactersvisible_charactersint
label_visible_ratiovisible_ratiofloat
HelperPropertyValue
rich_text_label_visible_charactersvisible_charactersint
rich_text_label_visible_ratiovisible_ratiofloat
HelperPropertyValue
scroll_container_scroll_horizontalscroll_horizontalint
scroll_container_scroll_verticalscroll_verticalint
HelperPropertyValue
texture_progress_bar_radial_center_offsetradial_center_offsetVector2
texture_progress_bar_radial_center_offset_xradial_center_offset:xfloat
texture_progress_bar_radial_center_offset_yradial_center_offset:yfloat
texture_progress_bar_radial_fill_degreesradial_fill_degreesfloat
texture_progress_bar_radial_initial_angleradial_initial_anglefloat
texture_progress_bar_texture_progress_offsettexture_progress_offsetVector2
texture_progress_bar_texture_progress_offset_xtexture_progress_offset:xfloat
texture_progress_bar_texture_progress_offset_ytexture_progress_offset:yfloat
texture_progress_bar_tint_overtint_overColor
texture_progress_bar_tint_over_alphatint_over:afloat
texture_progress_bar_tint_progresstint_progressColor
texture_progress_bar_tint_progress_alphatint_progress:afloat
texture_progress_bar_tint_undertint_underColor
texture_progress_bar_tint_under_alphatint_under:afloat
  • Control minimum and maximum sizes and containers still apply.
  • The offset transform helpers require offset_transform_enabled on the control.
  • Set up scrollable content before tweening a scroll position.

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.