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

# get_comm_channel

> communication channel list で channel ID を検索し、保存されている BindableEvent Instance を返します。最初の argument は number である必要があり、lookup の前に integer conversion で変換されます。その ID の entry が存在しない場合、この function は nil を返します。

<div className="real-function-page">
  ```lua theme={null}
  get_comm_channel(channelId: number): Instance | nil
  ```

  ## 引数

  <ParamField path={"channelId"} type={"number"} required>
    integer conversion で変換され、communication channel list で検索される channel ID。
  </ParamField>

  ## 戻り値

  <ResponseField name={"event"} type={"Instance | nil"}>
    channel ID に保存されている BindableEvent Instance、または ID が communication channels に存在しない場合は nil。
  </ResponseField>

  ## 例

  Look up the BindableEvent Instance stored for a communication channel ID.

  ```lua theme={null}
  local channelId = create_comm_channel()
  local event = get_comm_channel(channelId)

  print(event)
  ```
</div>
