How do I get rid of this when pressing a button?

Godot Version

4

Question

How do I get rid of this when pressing the button?

If you’re talking about the big white smear, I assume that’s something in the pressed state of buttons in your theme, or possibly the hover state. You can edit those.

How do I take that off bc I cant find the option?

Select the Button and in the inspector its under “Theme Overrides/Styles/”

The theme editor is a little weird? What you can do is, convince it to display the properties for Button, go into the “styles” tab of that, and delete or replace the pressed or hovered stylebox.

Did this and still happening the same?

Try adding an empty stylebox to the focus one too

You can probably remove the other one you added to the pressed/hover style.

Thanks a lot that worked TwT

1 Like