extends DialogicAnimation func animate(): var tween := (node.create_tween() as Tween) tween.set_ease(Tween.EASE_IN).set_trans(Tween.TRANS_EXPO) tween.tween_property(node, 'position:x', node.get_viewport().size.x+node.get_viewport().size.x/5, time) tween.finished.connect(emit_signal.bind('finished_once'))