# Creating a Radio Button

If you register multiple Radio Button objects into a single [Group ID], then when one Radio Button object from the group is touched, the specified BOOL variable is turned ON and the remaining Radio Button objects will be turned OFF.

When another Radio Button object in the same Group is touched, the same action will apply.

## Example Operation

## Setting Workflow

1. Add Variables
2. Set up Parts

## Add Variables

### Project Explorer : [Variables] ➞ [All Variables]

Add the below variable(s).

#### Variables property:

[Name] | [Data Type]
Var1 | [BOOL]
Var2 | [BOOL]
Var3 | [BOOL]

## Set up Parts

### Project Explorer : [Screen Design] ➞ [Screens] ➞ [Screen1]

Drag and drop the following objects from the [Tool Chest] to the screen.

#### Radio Button object (Name: RadioButton1) properties:

Tab | Sub Tab | Property | Value
[Function] | [Basic] | [Group ID] | 1
[Current Value] | [Variable] [Name]: Var1

#### Radio Button object (Name: RadioButton2) properties:

Tab | Sub Tab | Property | Value
[Function] | [Basic] | [Group ID] | 1
[Current Value] | [Variable] [Name]: Var2

#### Radio Button object (Name: RadioButton3) properties:

Tab | Sub Tab | Property | Value
[Function] | [Basic] | [Group ID] | 1
[Current Value] | [Variable] [Name]: Var3