Yuari
Documentation
Docs/Signals/getpropertychangedsignal

getpropertychangedsignal

Returns instance:GetPropertyChangedSignal(property).

Syntax

getpropertychangedsignal(instance: Instance, property: string) -> RBXScriptSignal

Parameters

ParameterTypeDescription
instanceInstanceThe Instance to read from or modify.
propertystringThe property name to access.

Returns

TypeDescription
RBXScriptSignalInstance:GetPropertyChangedSignal(property)

Description

getpropertychangedsignal is part of the Signals library. Signal helpers resolve live RBXScriptSignal objects and their connection lists. Firing and replication use the client's real signal paths.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

Example

local part = Instance.new("Part")
getpropertychangedsignal(part, "Position"):Connect(function()
    print("position changed")
end)
part.Position = Vector3.new(0, 10, 0)

Notes

  • Signal helpers operate on the live RBXScriptSignal and its connection list.