How do i make my viewpunch tween account for my mouse moving?

Godot Version

4.7.2stable

Question

title, i want to make it so the tweening happens alongside myself rotating the camera, i obviously don’t know how to do this at all, maybe i shouldn’t even be using tweening but yeah

func viewpunch():
	var tween = create_tween().set_ease(Tween.EASE_IN).set_trans(Tween.TRANS_CUBIC)
	var lastrot = $Head/Camera3D.rotation.x
	print($Head/Camera3D.rotation.x)
	$Head/Camera3D.rotate_x(+0.5)
	$Head/Camera3D.rotation.x = clamp($Head/Camera3D.rotation.x, deg_to_rad(-90), deg_to_rad(90))
	tween.tween_property($Head/Camera3D, "rotation:x",  lastrot, 0.5)

Insert an additional Node3D into hierarchy and tween its rotation.

im a dumbass