how to make things invisible in godot
You can use hide() and show(). These functions are inherited from CanvasItem.
Sprites has these methods because it inherits Node2D, which inherits CanvasItem.
Most 2D nodes inherit CanvasItem and Node2D so you can call these functions
on many different nodes.