Skip to content

[Mouse Pointer Lock] Disable the escape key #1433

Open
@zoobporsor

Description

@zoobporsor

Is there an existing issue for this?

Enter the name of the extension

Mouse Pointer Lock

Describe the bug of the extension

i need to disable the escape key on this function.
the built in "esc" functionality is overriding my custom menu when i also bind it to esc

you can see the behavior in the example here:
https://editor.gdevelop.io/?project=example://mouse-pointer-lock
the question is, how to get rid of the "esc" input?

Steps to reproduce

https://editor.gdevelop.io/?project=example://mouse-pointer-lock

Press esc, the cursor shows up and unlocks the input
How to disable this behavior?

GDevelop platform

Desktop

GDevelop version

5.4.217

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

Linux

OS Version (e.g. Windows 10, macOS 10.15)

Arch

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Firefox

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠ Issue with an extensionAn issue with an extension that is already on the extension store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions