---
title: "getconnections"
description: "Returns wrappers for native connections to an event."
---

```lua
getconnections(event: RBXScriptSignal): {Connection}
```

---

## Aliases

None.

---

## Arguments

<ParamField body="event" type="RBXScriptSignal" required>
  The native RBXScriptSignal to inspect or invoke.
</ParamField>

---

## Returns

<ResponseField name="connections" type="{Connection}">
  Native connection-wrapper tables for the supplied signal.
</ResponseField>

Not the custom Signal class. Some callbacks/threads cannot be resolved or belong to a foreign VM. See Connection fields and methods.

**Related types:** [Signals types & behavior](/reference/signals/types).

---

## Example

```lua
local event = Instance.new("BindableEvent")
local native = event.Event:Connect(function(value) print(value) end)
for _, connection in ipairs(getconnections(event.Event)) do
    print(connection.Enabled, connection.LuaConnection)
end
native:Disconnect()
event:Destroy()
```
