Select the `<GameObject>` GameObject from the Unity Hierarchy window and click the `Add Component` button, then select the `<Component>` component.
This newly created `<Component>` will be _insert reason for adding component_.
Markdown output example
Select the <GameObject>
GameObject from the Unity Hierarchy window and click the Add Component
button, then select the <Component>
component.
This newly created <Component>
will be insert reason for adding component.
![Example Of How To Add A Component To A GameObject](assets/images/ExampleOfHowToAddAComponentToAGameObject.png)
### Step X
Select the `MyAction` GameObject from the Unity Hierarchy window and click the `Add Component` button, then select the `Boolean Action` component.
This newly created `Boolean Action` will be the action that defines the toggle state of our GameObject.
![Add Boolean Action To My Action](assets/images/AddBooleanActionToMyAction.png)
Markdown output
Select the MyAction
GameObject from the Unity Hierarchy window and click the Add Component
button, then select the Boolean Action
component.
This newly created Boolean Action
will be the action that defines the toggle state of our GameObject.
- Example Graphic