• Creates a tween to the object and plays it. Mutate the object.

    Parameters

    • obj: GameObject

      object to be added to

    • config: ObjectConfig = {}

      tween config

    Returns Promise<GameObject | undefined>

    game object itself