## [Bug] Incorrect Mouse Click Behavior in HexTile Game # 2 #147

Closed
opened 2026-05-17 21:31:11 +00:00 by enjin2310 · 1 comment

Classification

Type: Bug
Priority: High
Component: Input / Controls

Summary

In the HexTile Game, both mouse buttons currently add blocks, despite the instructions stating that Left Click should add blocks and Right Click should remove them. This inconsistency causes confusion and prevents proper terrain editing.

Steps to Reproduce

  1. Open the HexTile Game at learn.spikersoft.com/hextile-game.
  2. Observe the Instructions panel on the right side of the interface.
  3. Attempt to remove blocks using Right Click.
  4. Notice that both Left Click and Right Click add blocks instead of removing them.

Expected Behavior

  • Left Click: Paint tiles or place blocks.
  • Right Click: Remove blocks.

Actual Behavior

  • Both Left Click and Right Click add blocks.
  • No removal action occurs.

Evidence

The attached screenshot shows the Instructions panel listing Right Click: Remove blocks, while the terrain editor adds blocks regardless of which mouse button is used.

Environment

  • Browser: Microsoft Edge
  • OS: Windows 10
  • Game Version: v2026.05.17a
  • Seed: 94
  • **
### Classification **Type:** Bug **Priority:** High **Component:** Input / Controls ### Summary In the **HexTile Game**, both mouse buttons currently add blocks, despite the instructions stating that *Left Click* should add blocks and *Right Click* should remove them. This inconsistency causes confusion and prevents proper terrain editing. ### Steps to Reproduce 1. Open the HexTile Game at [learn.spikersoft.com/hextile-game](https://learn.spikersoft.com/hextile-game). 2. Observe the **Instructions** panel on the right side of the interface. 3. Attempt to remove blocks using **Right Click**. 4. Notice that both **Left Click** and **Right Click** add blocks instead of removing them. ### Expected Behavior - **Left Click:** Paint tiles or place blocks. - **Right Click:** Remove blocks. ### Actual Behavior - Both **Left Click** and **Right Click** add blocks. - No removal action occurs. ### Evidence The attached screenshot shows the **Instructions** panel listing *Right Click: Remove blocks*, while the terrain editor adds blocks regardless of which mouse button is used. ### Environment - **Browser:** Microsoft Edge - **OS:** Windows 10 - **Game Version:** v2026.05.17a - **Seed:** 94 - **
Owner

Resolved in spikersoft-angular PR #40 (merged to master). Right-click now only removes blocks (no-op on empty tiles) and never places one; primary click places. Added unit tests for all button/target combinations. Closing.

(Fix is in the spikersoft-angular repo; cross-repo #147 doesn't auto-close — closing manually.)

Resolved in spikersoft-angular PR #40 (merged to `master`). Right-click now only removes blocks (no-op on empty tiles) and never places one; primary click places. Added unit tests for all button/target combinations. Closing. (Fix is in the `spikersoft-angular` repo; cross-repo `#147` doesn't auto-close — closing manually.)
Sign in to join this conversation.