Class · inherits Instance
Wire
Connects one or more Instances to form a processing graph of
their streams. At the moment, only audio streams are supported, but this may
expand in the future.
About Wire
Wire connects one or more Instances to form a
processing graph of their streams. Each Wire connects a source and
target instance, and a source and target "pin" within each of those instances.
Pins are string identifiers that select which stream is to be carried by the
wire.
At the moment, only audio streams are supported, but this may expand in the future.
The following instances may be connected by Wires:
AudioAnalyzerAudioChannelMixerAudioChannelSplitterAudioChorusAudioCompressorAudioDeviceInputAudioDeviceOutputAudioDistortionAudioEchoAudioEmitterAudioEqualizerAudioFaderAudioFilterAudioFlangerAudioGateAudioLimiterAudioListenerAudioPitchShifterAudioPlayerAudioRecorderAudioReverbAudioSpeechToTextAudioTextToSpeechAudioTremoloVideoPlayerVideoDisplay
Properties 5
Connected
: booleanReadOnlyNotReplicatedDenotes whether theWireis carrying a stream of data.Denotes whether the
Wireis connected, meaning itsSourceInstance,TargetInstance,SourceName, andTargetNameproperties are all assigned, the correspondingSourceNameandTargetNamepins exist onSourceInstanceandTargetInstancerespectively, and the connection does not result in a cyclic processing graph.SourceName
: stringThe name of the pin onSourceInstancethat is producing a stream.The name of the pin on
SourceInstancethat is producing a stream. At the moment, various audio instances only have an Output pin, but this may expand in the future. The default value of this property is Output so it is not yet necessary to change.TargetInstance
: InstanceTheInstanceto receive a stream fromSourceInstance.The
Instanceintended to receive a stream fromSourceInstance. Currently, only audio streams are wirable.TargetName
: stringThe name of the pin onTargetInstancethat is receiving a stream.The name of the pin on
TargetInstancethat is receiving a stream. At the moment, audio instances typically have an Input pin, butAudioCompressorhas an additional Sidechain pin. This may expand in the future.
Wire also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.