getsignalarguments
Returns the declared argument types for a supported event.
Syntax
getsignalarguments(signal: RBXScriptSignal) -> {string}
Also available as
get_signal_arguments
Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | Event to inspect. |
Returns
| Type | Description |
|---|---|
{string} | Declared event argument types. |
Description
This is signature metadata, not the values from the last time the signal fired. Unsupported metadata can be unavailable; it does not create or fire an event. See getsignalargumentsinfo for names and types together.
Example
local part = Instance.new("Part")
for index, kind in getsignalarguments(part.Touched) do print(index, kind) end
part:Destroy()
These are Game executor contracts. Check build requirements and session lifetimes before using them.
