Skip to content

Tilemap selection tool: right click doesn't erase the selection #81933

Closed
@ershn

Description

Godot version

v4.1.1.stable.mono.official [bd6af8e]

System information

Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 580 Series (Advanced Micro Devices, Inc.; 31.0.21029.1006) - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)

Issue description

Problem

The tilemap documentation states that with the selection tool, right clicking a selection will erase it.
However nothing happens when doing so.

https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html#selection

While in Selection mode, you can't place new tiles, but you can still erase tiles by right-clicking after making a selection. The whole selection will be erased, regardless of where you click in the selection.

Expectation

Right clicking a selection with the tilemap selection tool removes all the selected tiles from the tilemap.

Demo

bug_reproduction

Steps to reproduce

  1. create a tilemap node
  2. create a tileset with a single atlas, import a texture
  3. paint some tiles in the 2d editor
  4. select the tiles with the tilemap selection tool
  5. try to remove the tiles by right clicking the selection

Minimal reproduction project

Bug.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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