I need help with the tween node. So when the player punches a cage at the end of the level and the level is finished, the camera is supposed to zoom into the player. It zooms in but it doesnt have a Ease in, it just jumps to the zoom. Idk how to do this. Can someone pls help?
func _on_punch_area_entered(area):
if area.is_in_group("Cage"):
animated_sprite_2d.play("thumbs_up")
set_process_input(false)
set_physics_process(false)
$Camera2D.zoom.x += 4.0
$Camera2D.zoom.y += 4.0
$Camera2D.offset.x -= 40.0