getsignalargumentsinfo Synchronous
Read both the name and expected type of each argument known for a reflected signal. It is useful for building an event inspector or checking a supported replication call.
Luau
getsignalargumentsinfo(signal: RBXScriptSignal) -> {{Name: string, Type: string}}Parameters
| Parameter | Type | Description |
|---|---|---|
signal | RBXScriptSignal | RBXScriptSignal to inspect. |
Returns
{{Name: string, Type: string}}An array of records with Name and Type strings. It is empty when this signal has no built-in argument metadata.
Usage notes
Kawaii includes metadata for only certain signal families, including touch and supported replication events. A missing entry does not imply that the original Roblox event takes no arguments.
Example
Luau
local part = Instance.new("Part")
for _, argument in ipairs(getsignalargumentsinfo(part.Touched)) do
print(argument.Name, argument.Type)
end
part:Destroy()