how to check if the mouse is over an element i unity c# code example Example: unity Check if mouse clicked UI element EventSystem.current.IsPointerOverGameObject()