I’m trying to adjust the ‘separation’ theme override constants on VSeparators using code, and from what I’ve found online the solution is supposed to be .add_theme_constant_override(“separation”, value), but I haven’t been able to get it to work. Here’s the code I have going:
I know the code is getting to the if statements because I used a little print(“test”) inside of them. Just not sure what to add after p1_back_row and p1_front_row to adjust their separation constant. Also the code is from the pause_menu script if that helps.
EDIT: It is working now! I’m actually not sure what I did, so it may have just been closing and reopening Godot. But at least now I know that .add_theme_constant_override() is working on my system!