Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:SetParent

From Resonite Wiki
Set Parent Slot
*
Next
Instance
NewParent
PreserveGlobalPosition
Slots

Sets the parent of Instance (Slot).


Inputs

* (Call)

Set the parent of Instance (Slot) to NewParent (Slot)

Instance (Slot)

The slot to set the parent of.

NewParent (Slot)

The slot to set the parent of Instance (Slot) to.

PreserveGlobalPosition (bool)

Whether or not to keep the values for Instance (Slot)'s local transforms or to keep it in the same place visually.

Outputs

Sends an impulse when Instance (Slot) is sucessfully parented to NewParent (Slot), or if NewParent (Slot) is null it will set it to the Root Slot of the World.


Examples