(PC) How to make the mouse pointer force to stay on the middle of the screen when it's locked

Hello! :innocent:

How do I…

How do I make the mouse pointer automatically force to stay right on the middle of the screen when it’s locked using the Mouse Pointer Lock extension? Because the extension only locks and doesn’t make your mouse pointer go in the middle. :thinking:

What is the expected result

After the game requests my mouse pointer to lock, it should force the mouse pointer to stay on the middle of the screen, and when the mouse pointer is released and then gets locked again it should repeat and do the same thing too.

Hey there,
When are you using the lock mouse event? I think you can’t use it at start of scene etc, there needs to be some user interaction on the game’s window first.
Show your events if you are confused.

Here it is