ReferenceSignals

getsignalargumentsinfo

Returns named argument metadata for a supported event.

Syntax

getsignalargumentsinfo(signal: RBXScriptSignal) -> {table}

Also available as

get_signal_arguments_info

Parameters

ParameterTypeDescription
signalRBXScriptSignalEvent to inspect.

Returns

TypeDescription
{table}Argument records with Name and Type fields.

Description

Each record contains Name and Type. The records describe the event signature, not runtime argument values. This does not subscribe to future deliveries.

Example

local part = Instance.new("Part")
for _, info in getsignalargumentsinfo(part.Touched) do print(info.Name, info.Type) end
part:Destroy()

These are Game executor contracts. Check build requirements and session lifetimes before using them.