getsignalargumentsinfo(signal)
Returns parameter names and types for a signal signature.
Syntax
getsignalargumentsinfo(signal: RBXScriptSignal) -> {{Name: string, Type: string}}
Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | Signal to inspect. |
Returns
| Type | Description |
|---|---|
{table} | One entry per argument with Name and Type. |
Description
Reads the engine signature descriptor attached to the signal.
Logic change: the Name field now comes from the parameter-name string stored in each signature entry (validated identifier scan) instead of reusing the type name. Touched reports otherPart, and InputBegan reports gameProcessedEvent for its second argument.
Example
print(getsignalargumentsinfo(game.Workspace:FindFirstChildOfClass("Part").Touched)[1].Name)
Notes
- Falls back to the type name when the engine layout does not expose a parameter name.