Component:GrabbableReparentBlock: Difference between revisions

From Resonite Wiki
clean up
Changed youtube link to embed. Updated description, added link.
 
Line 6: Line 6:
|Name=Grabbable Reparent Block
|Name=Grabbable Reparent Block
}}
}}
The '''GrabbableReparentBlock''' component prevents any [[Slot|slot]] below it in the hierarchy, up to <code>MaxDepth</code> levels deep, from being reparented to any slot above it.
The '''GrabbableReparentBlock''' component prevents any [[Slot|slot]] [[Tag|tagged]] by this component below it in the hierarchy, up to <code>MaxDepth</code> levels deep, from being reparented to any slot above it.


== Fields ==
== Fields ==
Line 17: Line 17:


== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=Da0VJ0hFn_0 GrabbableReparentBlock] by [[User:ProbablePrime|ProbablePrime]]
* '''GrabbableReparentBlock''' by [[User:ProbablePrime|ProbablePrime]]
<youtube>Da0VJ0hFn_0</youtube>


== See Also ==
== See Also ==

Latest revision as of 22:31, 20 March 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Grabbable Reparent Block component as seen in the Scene Inspector

The GrabbableReparentBlock component prevents any slot tagged by this component below it in the hierarchy, up to MaxDepth levels deep, from being reparented to any slot above it.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
DontReparent Bool Don't allow this slot to be reparented. Subject to the rules explained in Grabbable - Behavior
MaxDepth Int Objects beyond this level in the hierarchy will not be effected. Set to Int MaxValue by default

Usage

Examples

See Also