Lock cursor movement to a single circle

Godot Version

Godot 4.2.1

Question

To preface, I am a beginner to Godot and I am currently making a 2D game. The way I want the mouse movement to work is for the mouse to be stuck inside of a single circle that goes all the way around the character. My question is: How can I program the cursor to only stay on the border of this single circle?
I have asked on reddit but the only answer that I got was someone telling me that I need to use “Viewport.warp_mouse” as well as “InputEventMouseMotion.relative” without giving me any proper explanation of how or where I am supposed to use those specific things.
All I have so far is the basic movement that default to the CharacterBody2D. Is there any way somebody could help me figure this out?

This gives me the distance between the mouse and the position of the character and prints if it is greater than one hundred. Is there a specific function I could use to hold the mouse at a certain distance from the character constantly?