Function Tween.interpolateProperty
Animates property of object from initial_val to final_val for duration seconds, delay seconds later. Setting the initial value to null uses the current value of the property.
Use transitiontype for trans_type and easetype for ease_type parameters. These values control the timing and direction of the interpolation. See the class description for more information.
bool interpolateProperty(NodePathArg1, VariantArg2, VariantArg3)
(
GodotObject object,
in NodePathArg1 property,
in VariantArg2 initial_val,
in VariantArg3 final_val,
in double duration,
in long trans_type = 0,
in long ease_type = 2,
in double delay = 0
);