How to set RadioGroup selsctor

image


i want to set true by script,don’t find api

Set the individual radio button.

From The Babylon GUI | Babylon.js Documentation

The radio button is used to define a value among a list by using a group of radio buttons where only one can be true. You can specify the selected value with radiobutton.isChecked .

See also

https://doc.babylonjs.com/typedoc/classes/babylon.gui.radiobutton#ischecked

1 Like

image
Thank you for your recovery. I use 'RadioGroup",can’t get radiobutton object, i can only add to Group.

image
I use RadioButton set a Group, don’t use RadioGroup, Thank you. but suggest add Api about ‘RadioGroup’.

Set the checked one at addRadio