Button can't be clicked

So, my button can’t be clicked when the position is in the center, right on unity camera, but when it is not in the center, it can. How do I fix it?

Check your scene hierarchy. You probably have something overlaying the button, likely another canvas/UI element.