I was messing around with buttons and the button groups and it works if I just do regular buttons that aren't scenes with the godot sprite being normal and the little robot being pressed. It toggles between the buttons and deactivates the button if another is pressed but if I use a button scene and then add those button scenes to a group they don't toggle off each other. Confused if this is just how godot works or if I'm missing something simple. Thank you!
#Do button groups not work on scenes?
1 messages · Page 1 of 1 (latest)
they are all in the same group right?
yes
how do you know they are in the same group
I selected them all and then dragged the group resource I made into the group box. i checked each one after
its the same thing I did with just the regular buttons and that worked
ok
you dragged in groupies.tres?
then it should say "groupies" in the property on the texturebutton, not ButtonGroup
weird, it doesn't do that for me
yea i double checked they're both added to the groupies group but I can still toggle both
hmm i'm not sure then
yea regular ones work
they are in the groupies.tres group in the scene the buttons are instanced in?
no let me try that
I tried that earlier if you put the group in the scene itself it shows as buttongroup in the main scene thats what I meant earlier. Running it doesnt change it
oh okay that's weird
they still appear to be the same buttongroup for me though, even when instanced
all I'm doing is dragging it in from the project manager
it changes for whatever reason idk
idek why I want to do this honestly Im just confused on why its not working
me too