How to show mouse cursor on mouse unlocked?

So I want to hide player mouse cursor when they are in combat
And show mouse cursor when they need to interact with UI.

any help will be appreciated!

Real easy way to do this is setting MouseIcon to a transparent image or a really tiny dot, and on interact send a remote (reliable, unreliable, bindable event if the interact prompt is client sided) to set the mouseicon to something else and set it back to the small little dot when the interact prompt is over.