Function Tween.interpolateMethod
Animates method of object from initial_val to final_val for duration seconds, delay seconds later. Methods are called with consecutive values.
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 interpolateMethod(VariantArg2, VariantArg3)
(
GodotObject object,
in String method,
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
);