When using buttongroups to easily make a set of buttons toggleable one at a time, I get strange behavior. When using button functions like is_pressed() on a button node of a group, I get the same result as if pressing any button in the group.
I assume for button groups I have to use get_pressed_button() like the docs say but I'm not sure how to use this function. How do I identify the group to use this on? var button = $button var group = ??? if group.get_pressed_button() == button:
I tried the group name and path in file system, but I get identifier not found.