connection:Enable
Re-enables a connection previously disabled through Apex.
Syntax
connection:Enable() -> ()
Description
This does not recreate a disconnected callback or replay events missed while disabled. Read Enabled to inspect the current state.
Example
local event = Instance.new("BindableEvent")
event.Event:Connect(function() end)
local connection = getconnections(event.Event)[1]
connection:Disable()
connection:Enable()
print(connection.Enabled)
event:Destroy()
These are Game executor contracts. Check build requirements and session lifetimes before using them.
