How to modify Control's custom properties from GDScript

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jarek

Let’s say I have a ProgressBar container.
In the inspector, down in the custom styles it has Fg/Bg colors editable.
I want to change these colors from GDScript. How to access them?

:bust_in_silhouette: Reply From: jarek

Ah, sorry, after some more searching I’ve found it already answered:
https://forum.godotengine.org/16155/want-to-the-change-the-color-of-progress-bar-progress-any-idea