Function Tween.followMethod

Follows method of object and applies the returned value on target_method of target, beginning from initial_val for duration seconds, delay 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 followMethod(VariantArg2) (
  GodotObject object,
  in String method,
  in VariantArg2 initial_val,
  GodotObject target,
  in String target_method,
  in double duration,
  in long trans_type = 0,
  in long ease_type = 2,
  in double delay = 0
);