How to detect the touch on certain Game Object (UI Panel)

I make mobile 2D game. I have the UI panel. I want to detect touch on the panel. Can the script detect touch in condition?

You could pass Touch.fingerId as parameter into EventSystem.IsPointerOverGameObject(int pointerID).