Button Cursor

How do you make it so that when you make the mouse hide and a button to startdrag make it so that you can click buttons with it? if this doesn’t make anysense it is probably because i am half asleep but i will still try and explain it more!