Skip to content
Signals & connectionsOverviewNew · 0.744

isconnectionenabled

Describe whether a connection is marked enabled.

Details#

Returns the truth value of the available Enabled field. Missing connection metadata produces false. This is the Connection facade state rather than the ordinary RBXScriptConnection.Connected property.

Examples#

Example

Luau
local event = Instance.new("BindableEvent")
local own = event.Event:Connect(print)
local connection = getconnection(event.Event, 1)
if connection then print(isconnectionenabled(connection)) end
own:Disconnect()
event:Destroy()