UI Is not detecting my mouse but is building like normal.

I figured it out about 10 mins after i posted this, i had messed up the Z order of the ui and it was set to 0 when i was trying to do something but then when i swapped it with z order like 10 it worked right away.