Tried adding mosue camera movement to 3D game

Godot Version

4.3

Question

How do I fix this: Expected end of statement after expression, found “Identifier” instead.
Here’s my code:

extends RigidBody3D

var mouse_sensitivity := 0.001
var twist_input := 0.0
var pitch_input := 0.0

func _ready() -> void:
    Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
    
    
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
    var input := Vector3.ZERO
    input.x = Input.get_axis("move_left", "move_right")
    input.z = Input.get_axis("move_forward", "move_back")
    
    apply_central_force(input * 1200.0 * delta)
    
    if Input.is_action_just_pressed("ui_cancel"):
           Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
        
    $TwistPivot.rotate_y(twist_input)
    
func _unhandled_input(event: InputEvent) -> void:
    if event is InputEventMouseMotion:
        if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
            twist_input = - event relative.x * mouse_sensitivity
            pitch_input = - event.relative.y * mouse_sensitivity

Can you point out which line this error is on?

Is it this missing dot?

                     v
twist_input = - event relative.x * mouse_sensitivity
pitch_input = - event.relative.y * mouse_sensitivity

Praise you human, for pointing out my rookie mistake, which made me give up for the night, post my code and go to sleep. Wish you the very best.