# Action Row

> Holds up to 5 buttons or a single select component.

- ID: `advmsgcmp_layout_actionrow`
- Type: Block
- Category: [Advanced Messages](https://inventor.bot/docs/reference/blocks/advanced-messages.md)

- Can only be placed inside `respond_interaction_advanced` (message_components), `send_advanced_message` (message_components), `advmsgcmp_layout_container` (children).

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `children` |  | 5 Buttons or Select Component | blocks: `func() { ... }` with only `advmsgcmp_interaction_*` blocks |

**Example**

```go
respond_interaction_advanced(Args{
	message_components: func() {
		advmsgcmp_layout_actionrow()
	},
})
```

## Placement

Can only be placed inside:

- [Respond to Interaction with Advanced Message](https://inventor.bot/docs/reference/blocks/interactions/respond-interaction-advanced.md) (`respond_interaction_advanced`), in `message_components`
- [Send Advanced Message](https://inventor.bot/docs/reference/blocks/messages/send-advanced-message.md) (`send_advanced_message`), in `message_components`
- [Message Container](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-layout-container.md) (`advmsgcmp_layout_container`), in `children`

## Blocks inside

These blocks can only be placed inside this one:

- [Button](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-button.md) (`advmsgcmp_interaction_button`), in `children`
- [String Select Option](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-option.md) (`advmsgcmp_interaction_select_option`), in `children`
- [String Select](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-string.md) (`advmsgcmp_interaction_select_string`), in `children`
- [User Select](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-user.md) (`advmsgcmp_interaction_select_user`), in `children`
- [Role Select](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-role.md) (`advmsgcmp_interaction_select_role`), in `children`
- [Mentionable Select](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-mentionable.md) (`advmsgcmp_interaction_select_mentionable`), in `children`
- [Channel Select](https://inventor.bot/docs/reference/blocks/advanced-messages/advmsgcmp-interaction-select-channel.md) (`advmsgcmp_interaction_select_channel`), in `children`