add more info, fix types |
m YoshBot moved page ProtoFlux:Destroy Slot Children to ProtoFlux:DestroySlotChildren: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 23:50, 20 August 2025
Destroy Slot Children
Slots
Remove all children of the provided Instance (Slot).
Inputs
* (Call)
Call to destroy the children slots of Instance (Slot)
Instance (Slot)
The slot to destroy all the children for.
PreserveAssets (bool)
Whether or not the assets associated with the children of the provided Instance (Slot) should stay or be instantly discarded
SendDestroyingEvent (bool)
Whether or not to send a destroying event of the children slots to other nodes like On Destroying
Outputs
Next (Continuation)
Sends an Impulse after * (Call) is called and Instance (Slot)'s children has been destroyed. will not fire if Instance (Slot) is null.
Examples
-
A button hooked up to destroy a huge list of children of slot using Destroy Children
-
The aftermath of pressing the button.