diff --git a/editor/scene/2d/tiles/tile_map_layer_editor.cpp b/editor/scene/2d/tiles/tile_map_layer_editor.cpp index c7540040784..d77b64d9696 100644 --- a/editor/scene/2d/tiles/tile_map_layer_editor.cpp +++ b/editor/scene/2d/tiles/tile_map_layer_editor.cpp @@ -114,6 +114,7 @@ void TileMapLayerEditorTilesPlugin::_update_toolbar() { random_tile_toggle->show(); scatter_controls_container->set_visible(random_tile_toggle->is_pressed()); } + CanvasItemEditor::get_singleton()->set_current_tool(CanvasItemEditor::TOOL_SELECT); } void TileMapLayerEditorTilesPlugin::_update_transform_buttons() { @@ -3664,6 +3665,9 @@ void TileMapLayerEditor::_notification(int p_what) { if (custom_overlay) { custom_overlay->set_visible(is_visible_in_tree()); } + if (is_visible()) { + CanvasItemEditor::get_singleton()->set_current_tool(CanvasItemEditor::TOOL_SELECT); + } } break; case NOTIFICATION_THEME_CHANGED: {