GetMouseButtonDown() problem in New UI System

when i click the button in new ui system, the GetMouseButtonDown(0) function in update will be invoked, how can i prevent this??? thanks~~

Add code that uses a Ray to figure out what was clicked and if the clicked item was a GUI element, does nothing.

You need to use !EventSystemManager.currentSystem.IsPointerOverEventSystemObject()

thanks very much,it is right way