Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6875549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:20:41+00:00 2026-05-27T04:20:41+00:00

One major barrier to creating immersive experiences in the browser (using WebGL and similar)

  • 0

One major barrier to creating immersive experiences in the browser (using WebGL and similar) is the set of limitations placed on mouse control.

For instance a first person shooter control scheme essentially requires the program to grab the mouse and re-center it so as to allow infinite movement in any direction for the cursor. This is a no-no because it would give the web programmer too much control. Hopefully one day we will see a plugin that allows a site to request permission to move the mouse to allow this behavior.

However I think there are some ways to improve things without going that far. I am wondering if it’s possible to allow access to the mouse position once the mouse moves off of the window (focus is still on window)?

I was playing this game using Google Chrome: http://www.chromeexperiments.com/detail/x-wing/?f=

and my biggest issue was that to get to a corner, I have to carefully keep my mouse on the corner of the browser window. If I push it off the window my ship would stay where the mouse’s last window position was, which is not exactly in the corner. And I would crash into the wall.

To make this better, the browser should be able to receive mouse updates when the mouse is outside of the window. In the context of this type of game if the mouse leaves the window it should continue to send updated positions to the browser.

Is there any provision for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:20:42+00:00Added an answer on May 27, 2026 at 4:20 am

    That really seems like a far bigger security issue than allowing the developer to reposition the cursor. The answer is no, there’s no such thing. And there probably won’t ever be one. Sorry!

    Update: I was, of course, talking about the capturing outside the window that would be a problem. It’s very likely that there will ever be an API that locks the mouse, maybe after asking the user’s permission. As nickf pointed out, they’re already working on it –https://www.w3.org/TR/pointerlock/

    Original defunct link – http://dvcs.w3.org/hg/webevents/raw-file/default/mouse-lock.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on an color-picker component using HTML, CSS and Javascript, one major
I just moved from Visual Studio 2008 to Visual Studio 2010 (final) and noticed one major
One of the major advantages with Javascript is said to be that it is
One of the core fields present on several of my app's major database tables
Switch statement fallthrough is one of my personal major reasons for loving switch vs.
One of the articles I really enjoyed reading recently was Quality Control by Last.FM
I've been working on setting up a Shopify store. One major feature they don't
I've been using StarTeam for version control for some time, but am moving to
One major question is I can't simply use existed json library to put into
I've been developing software in C# for a while, but one major area that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.