Find out if mouseposition is over gui-element or collider?

Hi, im using the mouseOrbit-script from the standart-assets folder to move my camera around a gameobject. Within that LateUpdate-function i want to know if my mouse-cursor-position collides with any of my ingame gui-elements or any other gameobject-collider.

I didnt find a way so far. Any hints on that?? Thanks for your time..

For GUI elements, see this:

For colliders, see this:

Check out this video.

(Make sure to click the check mark by my answer if this answers your question!)