Block Scene objects click through UI

Good day
Is there a easy way in Unity4.6 to block clicking or any other mouse activity if cursor position is over the UI element?
I dont want to interact with any object on workign area if working on UI

Another alternative is to use the event system to process all of your clicks with a physics raycaster. Clicks will automatically get prioritised.

Edit: Adding a YouTube video, since this has been asked a few times

How do I stop clicks/touches on the UI from ‘going through it’ and being clicks in my game world?

Use EventSystem.current.IsPointerOverGameObject() to check whether the mouse is over a GUI element before you process your game world clicks. See this post for an example. Also, on mobile, you may need to specify which finger you’re asking about - see this thread for details.

From the forums:

How do I stop clicks/touches on the UI
from ‘going through it’ and being
clicks in my game world?

Use
EventSystem.current.IsPointerOverGameObject()
to check whether the mouse is over a
GUI element before you process your
game world clicks. See this post for
an example. Also, on mobile, you may
need to specify which finger you’re
asking about - see this thread for
details.

There might be a new better way, though.