Skip to content

requestPointerLock() documentation should note that it must be called from the user's callback #5191

@jgordon510

Description

@jgordon510
  • [X ] Documentation

Details about the bug:

The page at https://p5js.org/reference/#/p5/requestPointerLock notes that "not all browsers support this feature." It should also note, however, that the feature requires being called in a user callback (a click or something) in most browsers. Chrome definitely requires it, similar to audiocontext.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions