Thanks your answer.
i test it.everything is ok.
And i change something
1. change the node to area2d
2. change the code var results = space_state.intersect_point(mouse_position,32,[],0x00000002,true,true);
My reason is that your method may affect other collision, so I added a physics layer to these UI. Mouse events only triggered to these layers. It should be acceptable to occupy a physics layer in project.
Thank you very much for your reply, this is a solution that can be used.
Godot’s mouse signal and this are two logics,feel a little strange, and I hope it can be a unified notification event.
So I will not close the question, if there are other different solutions
But no matter what, thank you for the feasible solution