How to get where I clicked on a UI element Unity code example Example: unity Check if mouse clicked UI element EventSystem.current.IsPointerOverGameObject()