Skip to content

CustomEvent

Supported Class Other Deprecated in Nova Deprecated in Roblox Deprecated

Inheritance

Object → Instance → CustomEvent

Nova inheritance: Instance → CustomEvent

Methods

GetAttachedReceivers Supported Function Deprecated Returns the CustomEventReceivers that are connected to the CustomEvent.
CustomEvent:GetAttachedReceivers(): Objects

This function returns the CustomEventReceivers that are connected to the CustomEvent.

Roblox reference signature
CustomEvent:GetAttachedReceivers(): Instances

Roblox documentation

SetValue Supported Function Deprecated Sets the value of the CustomEvent and fires the CustomEventReceiver.SourceValueChanged event for all connected CustomEventReceiver|receivers.
CustomEvent:SetValue(float newValue)

This function sets the value of the CustomEvent and fires the CustomEventReceiver.SourceValueChanged event for all connected CustomEventReceiver|receivers.

Roblox reference signature
CustomEvent:SetValue(newValue: float): null

Roblox documentation

Events

ReceiverConnected Supported Event Deprecated Fires when a receiver is connected to the CustomEvent.
ReceiverConnected(Instance receiver)

Fires when a receiver is connected to the CustomEvent.

This event fires when a receiver is connected to the CustomEvent

Roblox reference signature
ReceiverConnected(receiver: Instance)

Roblox documentation

ReceiverDisconnected Supported Event Deprecated Fires when a receiver is disconnected from the CustomEvent.
ReceiverDisconnected(Instance receiver)

This event fires when a receiver is disconnected from the CustomEvent.

Roblox reference signature
ReceiverDisconnected(receiver: Instance)

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: CustomEvent

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.