Tween rotating node more than intended (by a lot)

Godot Version

v4.2.1.stable.mono.official [b09f793f5]

Question

My code:

extends SpringArm3D

@export var mouse_sensitivity := 0.05 #Unused

func _ready() -> void:
	set_as_top_level(true)
# 	Input.MOUSE_MODE_CAPTURED

func _process(delta):
	if Input.is_action_just_pressed("ui_accept"):
		_camera_up()

For whatever reason this code rotates the springarm to 5156 on the x?? Why does it do that , there’s nothing in the logs and the function only runs once (according to the print)

Any Clue?

You didn’t include the _camera_up() function code.

Are you rotating with degrees or radians?
In inspector camera rotates with degrees, but rotate() and .rotation are using radians.

Listen, I aint always the sharpest tool in the shed

func _camera_up() -> void:
	var _tween = create_tween()
	print("Transition Time")
	_tween.tween_property(self, "rotation:x", 90, 1)

Figured it out: Use deg_to_rad

	_tween.tween_property(self, "rotation:x", deg_to_rad(-90), 1)