document.pointerLockElement property returns the element set as the target for mouse events while the pointer is locked.
|Object||Returns the element set as the target for mouse events while the pointer is locked.|
|null||If the pointer is unlocked, lock is pending, or the target is in another document.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.