Can't move camera while on a CanvasLayer

Godot Version



I have encountered this problem, but I don’t understand why it is happening. When I try to add a shader to my game following these steps, I find that I can’t move my character’s camera. However, I am still able to use WASD to walk normally. Disabling visibility on the CanvasLayer fixes this issue, but it also removes the shader. Here is an overview of my project.

It is likely that the ColorRect captures the input.

  • CanvasLayer has layer = 1 and can receive input events before the nodes outside of the CanvasLayer
  • ColorRect has by default mouse_filter = Stop and captures mouse input events.

Please try to set mouse_filter = Ignore for the ColorRect.

I think this’s the solution I’m looking for