How can I click through the screen while keeping a transparent screen?

Godot Version

4.2.1

Question

First of all, this is my code.

func _ready():
DisplayServer.window_set_mouse_passthrough($Path2D.curve.get_baked_points())
DisplayServer.window_set_mouse_passthrough()
DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_TRANSPARENT, true)

Now when I run this, the screen becomes transparent, but the click doesn’t through the screen