unity check if mouse is over ui element code example Example: unity Check if mouse clicked UI element EventSystem.current.IsPointerOverGameObject()