Does anybody know how i can soft lock my mouse cursor (with button held down) to whatever position it is in and when i release the button it functions normally again and is able to move? currently whenever i hold rmb although it controls my camera rotation like i want it too it doesnt lock the mouse cursor to the position it was in when i held rmb.
Only come on here as a last resort ive tried getting current mouse position storing it in variables and then setting the mouse position with the stored variables on event tick with a branch (b variable isrmbheld?) but it comes out jittery and very delayed because the event tick is trying to capture every frame of the mouse or something
video example- if youre familiar with robloxs shift lock system its basically that state but while unshiftlocked