Hello! I want to make a tween move up and down ( this tween will be a trap and it's moving up and down only on Y axis). The problem is that my node moves from up- to down and get back to its place (up) and stops. I want it to continuously move up and down. Do you know how to do it? I tried to use a timer but I didn't succed.
export var move_to = Vector2.DOWN *600
export var speed = 6.0
var follow= Vector2.ZERO
onready var tween = $Tween
tween.interpolateproperty(self,"follow",moveto, Vector2.ZERO, 3, Tween.TRANSLINEAR, Tween.EASEIN_OUT, 2)