ReferenceSignals

getsignalarguments

Returns the declared argument types for a supported event.

Syntax

getsignalarguments(signal: RBXScriptSignal) -> {string}

Also available as

get_signal_arguments

Parameters

ParameterTypeDescription
signalRBXScriptSignalEvent to inspect.

Returns

TypeDescription
{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.