0 votes

I'm trying to remove the blue box that appears around focused buttons in Godot. I saw here that it can be done with "StyleBoxEmpty", but the example picture is a broken link. I have looked through all the node properties, but I cannot find it. Can someone clarify how to enable this property?

asked Nov 28, 2018 in Engine by behelit (67 points)

1 Answer

+4 votes
Best answer

Okay, I figured it out...

To remove the unwanted blue "style box" border around focused buttons, do the following:

  1. In the inspector for the button node, scroll down until you find "Custom Styles", expand.
  2. Under the focus property, set the null value to StyleBoxEmpty.
  3. Done.

I feel like this was harder to find than it should have been, the documentation simply says "Empty stylebox (does not display anything).".

answered Nov 28, 2018 by behelit (67 points)
selected Nov 28, 2018 by behelit
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.