Problem with collisions

Godot Version 4,3

I have 2 collisions, one above the other. how can I make function _on_mouse_entered() work only for the upper collision, and the lower one remains invisible to the mouse (function _on_mouse_entered() does not work)?