mojira.dev
MCPE-231137

Camera may snap to a random direction when both mouse buttons are pressed simultaneously

Summary:
When pressing both mouse buttons at the same time after moving the camera, the camera may occasionally snap to a random direction, interfering with gameplay.

Reproducing the issue manually is extremely difficult. To make it easier to reproduce, an AutoHotkey script is provided that triggers left-click actions automatically when pressing right-click.

Steps to Reproduce:

  1. Go to AutoHotkey.com and press the Download button.

  2. Download and install AutoHotkey v1.1 (not v2.0).

  3. Download the attached script named Click Bug.ahk.

  4. Double-click the script to run it.

  5. Open a world in Minecraft.

  6. Verify the script is working by pressing Right Click — the player’s hand should swing.

  7. Move the camera in various directions while repeatedly pressing Right Click.

Observed Results:
Occasionally, the camera snaps to a random direction.

Expected Results:
The camera should remain stable and not snap to a different direction, consistent with behavior in previous versions.

Notes:
To stop the script, click the upward arrow on the taskbar to open the system tray, double-click the H icon, click File in the top-right corner, then select Exit (Terminate Script).

Linked issues

Attachments

Comments 4

I have discovered that this issue is not caused by rapid clicking, but rather by pressing both mouse buttons simultaneously. I have updated the bug report to reflect this information and would appreciate it if the previously attached script could be removed, as I do not have the ability to do so myself.

[media]

The issue I am having is when I use the scroll wheel, it switched my view to some random view in another direction. Do you have a script that will prevent this? Thanks.

Hi!
Thank you for your report!
However your ticket is Invalid.

You are using unsupported 3rd party tools. Feel free to recreate this ticket if you are able to reproduce this issue without scripts.

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki 

(Unassigned)

Confirmed

Windows

1.21.130.26 Preview, 1.21.121 Hotfix

Retrieved