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]] below it in the hierarchy, up to <code>MaxDepth</code> levels deep, from being reparented to any slot above it.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|DontReparent|Bool| Don't allow this slot to be reparented. Subject to the rules explained in [[Grabbable (Component)#Behavior|Grabbable - Behavior]]
|DontReparent|Bool| Don't allow this slot to be reparented. Subject to the rules explained in [[Component:Grabbable#Behavior|Grabbable - Behavior]]
|MaxDepth|Int| Objects beyond this level in the hierarchy will not be effected. Set to [[:Category:Type:Int|Int MaxValue]] by default
|MaxDepth|Int| Objects beyond this level in the hierarchy will not be effected. Set to [[Type:Int|Int MaxValue]] by default
}}
}}
== Behavior ==
== Usage ==
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=Da0VJ0hFn_0 GrabbableReparentBlock] by [[User:ProbablePrime|ProbablePrime]]
* [https://www.youtube.com/watch?v=Da0VJ0hFn_0 GrabbableReparentBlock] by [[User:ProbablePrime|ProbablePrime]]
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 below it in the hierarchy, up to MaxDepth levels deep, from being reparented to any slot above it.