Tween callback to built-in type (Array).

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jandrewlong
:warning: Old Version Published before Godot 3 was released.

Is it possible to use a tween to call a function of a built-in type, specifically Array?

When I try:

tweenNode.interpolate_callback(myArray, 1, "pop_front")

I get:

Invalid type in function 'interpolate_callback' in base 'Tween'. Cannot convert argument 1 from Array to Object.
:bust_in_silhouette: Reply From: VitaZheltyakov

Try:
tweenNode.interpolate_callback(self, 1, “pop_front”, myArray)