Skip to content
Actors & channelsOverview

get_comm_channel

Looks up an actor communication channel.

Details#

Looks up a channel created in this session by its integer ID. Returns the event object or nil for an unknown ID; it does not create a channel.

Examples#

Example

Luau
local id, channel = create_comm_channel()
print(get_comm_channel(id) ~= nil) -- true
channel:Destroy()