Function Tween.targetingProperty
Animates property of object from the current value of the initial_val property of initial to final_val for duration seconds, delay seconds later.
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 targetingProperty(NodePathArg1, NodePathArg3, VariantArg4)
(
GodotObject object,
in NodePathArg1 property,
GodotObject initial,
in NodePathArg3 initial_val,
in VariantArg4 final_val,
in double duration,
in long trans_type = 0,
in long ease_type = 2,
in double delay = 0
);