Object:Instance/events: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
New page: {{Member/{{{1|box}}}|event|AncestryChanged}} {{Member/{{{1|box}}}|event|Changed}} {{Member/{{{1|box}}}|event|ChildAdded}} {{Member/{{{1|box}}}|event|ChildRemoved}} {{Member/{{{1|box}}}|eve...
 
>NXTBoy
New page: {{Member/{{{1|box}}}|event|AncestryChanged}} {{Member/{{{1|box}}}|event|Changed}} {{Member/{{{1|box}}}|event|ChildAdded}} {{Member/{{{1|box}}}|event|ChildRemoved}} {{Member/{{{1|box}}}|eve...
(No difference)

Revision as of 08:05, 21 July 2010

AncestryChanged ( Instance child, Instance parent )
Description Fired when an ancestor of the Instance the event which is a member of child has its parent changed to parent.
Member of: Instance

There are two different Changed events as shown below.

Changed ( Property property )
Description Fired whenever a property of the object changes.
Member of: Instance
Changed ( type Value )
Description Fired after the Value property is changed. This is present but does not work in 2008M, it uses the other version of this event instead.
Member of: BoolValue, BrickColorValue, CFrameValue, Color3Value, IntValue, NumberValue, ObjectValue, StringValue, Vector3Value, RayValue
ChildAdded ( Instance child )
Description Fired after a child is added.
Member of: Instance
ChildRemoved ( Instance child )
Description Fired when a child is removed from the object.
Member of: Instance
DescendantAdded ( Instance descendant )
Description Fired when a descendant is added to the object.
Member of: Instance
DescendantRemoving ( Instance descendant )
Description Fired when a descendant is being removed.
Member of: Instance