> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# get_comm_channels

```luau theme={null}
get_comm_channels(): {[number]: BindableEvent}
```

Returns a dictionary of all active communication channels created via `create_comm_channel` during the current session, mapped by their unique IDs.

## Returns

`{[number]: BindableEvent}` - A dictionary where the keys are channel IDs and values are their corresponding `BindableEvent` objects.

## Example

<CodeGroup>
  ```luau Example 1 theme={null}
  local get_comm_channels = get_comm_channels()
  ```

  ```luau Example 2 theme={null}
  -- Check if any communication channels are currently open
  local active_channels = get_comm_channels()
  if next(active_channels) == nil then
      print("No active channels found.")
  else
      print("Found active communication channels.")
  end
  ```
</CodeGroup>

<Tip>
  Useful for debugging multi-actor scripts to check which channels were successfully registered.
</Tip>
