Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

gdscript tween

var tween = get_node("Tween")
tween.interpolate_property($Node2D, "position",
        Vector2(0, 0), Vector2(100, 100), 1,
        Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
tween.start()
Source by docs.godotengine.org #
 
PREVIOUS NEXT
Tagged: #gdscript #tween
ADD COMMENT
Topic
Name
1+2 =