API:Class/Instance/Changed

Changed

Event of Object Icon.pngInstance
There are members of the same name. See the disambiguation page.
RBXScriptSignal Changed (
    string property
)
Parameters:
  1. property

Description: Fires after a property of the object changes.

Notes

  • Setting a property to its current value will not fire the Changed event.

Example

local part = Instance.new("Part",workspace)
part.Anchored = true
part.Changed:connect(function (property)
	print("Property of",part:GetFullName(),"changed:",property)
end)