Syntax
getsignalarguments(signal: userdata): tableArguments
| Name | Type | Description |
|---|---|---|
signal | userdata | Signal or event object to inspect or fire. |
Returns
| Name | Type | Description |
|---|---|---|
arguments | table | Captured argument values. |
Description
Returns the last captured arguments for a signal when available.
Call it with 1 parameter(s): signal. The argument table explains which values are required and which ones only refine the behavior.
It returns arguments (table). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = getsignalarguments(game)
print(result)