Cant distinguish click move player and click item

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By rifaitahyar

Hello,

I make click game,
I need logic how to distinguish click on move player and click on item/area2D,
So when I click on item/area2D the player will not move to the item, because the item will pop up window,
Thanks before