How to rotate 360 while hide mouse cursor?

I use BP to show mouse cursor, and when mouse right button pressed, hide the mouse cursor for rotation, but here comes a problem, I can only rotate 180 because my cursor can not move through the border of the game, how to deal with it?

I think I can trace the mouse input after rotate, but I don’t know how to do.

I think I need to disable the mouse move when I hiding the mouse cursor and rotating.

What did you use to rotate your actor mate? Set actor rotation or add actor rotation?