How do I tell if the mouse is clicking on the UI?

Hi @chuxinhao,

Check this thread, it can be of help: Detect click on UI elements - #2 by Leonidas