Skip to content

AttributeChange -> SpecialKey

function Fusion.AttributeChange(
    attributeName: string
): SpecialKey

Given an attribute name, returns a special key which can listen to changes for attributes of that name.

When paired with a callback in a property table, the special key connects the callback to the attribute's change event.


Parameters

attributeName : string

The name of the attribute that the special key should target.


Returns -> SpecialKey

A special key for listening to changes for attributes of that name.

Back to top