Skip to content
tweens.gd

GDScriptBeta

2D nodes

Helpers for CanvasItem, Node2D, and the 2D node classes.

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

101 helpers: CanvasItem · Node2D · AnimatedSprite2D · Camera2D · CanvasLayer · CanvasModulate · CPUParticles2D · GPUParticles2D · Light2D · Line2D · Parallax2D · PathFollow2D · PointLight2D · Polygon2D · Sprite2D

HelperPropertyValue
modulatemodulateColor
modulate_alphamodulate:afloat
self_modulateself_modulateColor
self_modulate_alphaself_modulate:afloat
HelperPropertyValue
global_position_2dglobal_positionVector2
global_position_2d_xglobal_position:xfloat
global_position_2d_yglobal_position:yfloat
global_rotation_2dglobal_rotationfloat
global_scale_2dglobal_scaleVector2
global_scale_2d_xglobal_scale:xfloat
global_scale_2d_yglobal_scale:yfloat
global_skew_2dglobal_skewfloat
position_2dpositionVector2
position_2d_xposition:xfloat
position_2d_yposition:yfloat
rotation_2drotationfloat
scale_2dscaleVector2
scale_2d_xscale:xfloat
scale_2d_yscale:yfloat
skew_2dskewfloat
HelperPropertyValue
animated_sprite_2d_frameframeint
animated_sprite_2d_speed_scalespeed_scalefloat
HelperPropertyValue
camera_2d_offsetoffsetVector2
camera_2d_offset_xoffset:xfloat
camera_2d_offset_yoffset:yfloat
camera_2d_zoomzoomVector2
camera_2d_zoom_xzoom:xfloat
camera_2d_zoom_yzoom:yfloat
HelperPropertyValue
canvas_layer_offsetoffsetVector2
canvas_layer_offset_xoffset:xfloat
canvas_layer_offset_yoffset:yfloat
canvas_layer_rotationrotationfloat
canvas_layer_scalescaleVector2
canvas_layer_scale_xscale:xfloat
canvas_layer_scale_yscale:yfloat
HelperPropertyValue
canvas_modulate_colorcolorColor
canvas_modulate_color_alphacolor:afloat
HelperPropertyValue
cpu_particles_2d_colorcolorColor
cpu_particles_2d_color_alphacolor:afloat
cpu_particles_2d_directiondirectionVector2
cpu_particles_2d_direction_xdirection:xfloat
cpu_particles_2d_direction_ydirection:yfloat
cpu_particles_2d_emission_rect_extentsemission_rect_extentsVector2
cpu_particles_2d_emission_rect_extents_xemission_rect_extents:xfloat
cpu_particles_2d_emission_rect_extents_yemission_rect_extents:yfloat
cpu_particles_2d_emission_sphere_radiusemission_sphere_radiusfloat
cpu_particles_2d_explosivenessexplosivenessfloat
cpu_particles_2d_gravitygravityVector2
cpu_particles_2d_gravity_xgravity:xfloat
cpu_particles_2d_gravity_ygravity:yfloat
cpu_particles_2d_lifetimelifetimefloat
cpu_particles_2d_randomnessrandomnessfloat
cpu_particles_2d_speed_scalespeed_scalefloat
cpu_particles_2d_spreadspreadfloat
HelperPropertyValue
gpu_particles_2d_amount_ratioamount_ratiofloat
gpu_particles_2d_explosivenessexplosivenessfloat
gpu_particles_2d_lifetimelifetimefloat
gpu_particles_2d_randomnessrandomnessfloat
gpu_particles_2d_speed_scalespeed_scalefloat
HelperPropertyValue
light_2d_shadow_colorshadow_colorColor
light_2d_shadow_color_alphashadow_color:afloat
light_color_2dcolorColor
light_energy_2denergyfloat
HelperPropertyValue
line_2d_default_colordefault_colorColor
line_2d_default_color_alphadefault_color:afloat
line_2d_widthwidthfloat
HelperPropertyValue
parallax_2d_autoscrollautoscrollVector2
parallax_2d_autoscroll_xautoscroll:xfloat
parallax_2d_autoscroll_yautoscroll:yfloat
parallax_2d_scroll_offsetscroll_offsetVector2
parallax_2d_scroll_offset_xscroll_offset:xfloat
parallax_2d_scroll_offset_yscroll_offset:yfloat
parallax_2d_scroll_scalescroll_scaleVector2
parallax_2d_scroll_scale_xscroll_scale:xfloat
parallax_2d_scroll_scale_yscroll_scale:yfloat
HelperPropertyValue
path_follow_2d_h_offseth_offsetfloat
path_follow_2d_progressprogressfloat
path_follow_2d_progress_ratioprogress_ratiofloat
path_follow_2d_v_offsetv_offsetfloat
HelperPropertyValue
point_light_2d_heightheightfloat
point_light_2d_offsetoffsetVector2
point_light_2d_offset_xoffset:xfloat
point_light_2d_offset_yoffset:yfloat
point_light_2d_texture_scaletexture_scalefloat
HelperPropertyValue
polygon_2d_colorcolorColor
polygon_2d_color_alphacolor:afloat
polygon_2d_offsetoffsetVector2
polygon_2d_offset_xoffset:xfloat
polygon_2d_offset_yoffset:yfloat
polygon_2d_texture_offsettexture_offsetVector2
polygon_2d_texture_offset_xtexture_offset:xfloat
polygon_2d_texture_offset_ytexture_offset:yfloat
polygon_2d_texture_rotationtexture_rotationfloat
polygon_2d_texture_scaletexture_scaleVector2
polygon_2d_texture_scale_xtexture_scale:xfloat
polygon_2d_texture_scale_ytexture_scale:yfloat
HelperPropertyValue
sprite_2d_frameframeint
sprite_2d_offsetoffsetVector2
sprite_2d_offset_xoffset:xfloat
sprite_2d_offset_yoffset:yfloat
sprite_2d_region_rectregion_rectRect2
  • Path helpers require a PathFollow2D under a Path2D with a nonempty curve. The node still controls looping and wrapping.
  • Set up sprite frames and animations before tweening a sprite’s frame.

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.