Enemy spawn location not following path

Godot 4

I need help how can I get the enemy spawn location to follow the path

code:

extends Node
@export var mob_scene: PackedScene

func _ready():
$Area2D.start($Marker2D.position)
$Timer2.start()
randomize()

func _process(delta):
pass

func _on_timer_2_timeout():
$Timer.start()

func _on_timer_timeout():
var mob = mob_scene.instantiate()
var mob_spawn_location = $Path2D/PathFollow2D
var direction = mob_spawn_location.rotation + PI /2
mob.position = mob_spawn_location.position
direction += randf_range(-PI / 4, PI / 4)
mob.rotation = direction
var velocity = Vector2(randf_range(150.0, 250.0), 0.0)
mob.linear_velocity = velocity.rotated(direction)
add_child(mob)