How to remove shadow from buttons

Godot Version

4

Question

My buttons have this shadow around them, how can I remove it?

Those seem like regular Button nodes with icons? If they are, making them flat should remove the “shadow” (enable Flat in the inspector). But I would recommend using TextureButtons instead if those are just regular Buttons.

1 Like

Thank You!! Yeah they are normal buttons, and im trying to get better at ui, what’s the advantages over using a texture button over a normal button with an icon?

If you just make them flat, the “shadow” will be invisible but you can still click the invisible area. If you use a TextureButton, that won’t happen and you can set different textures for different button states (normal, pressed, hovered, disabled, focused).