Component:GrabbableReparentBlock: Difference between revisions

From Resonite Wiki
No edit summary
clean up
Line 4: Line 4:
{{Infobox Component
{{Infobox Component
|Image=GrabbableReparentBlockComponent.png
|Image=GrabbableReparentBlockComponent.png
|Name=GrabbableReparentBlock
|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]] 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]]


== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:GrabbableExtensions]]
[[Category:Components{{#translation:}}|Grabbable Reparent Block]]
[[Category:Components{{#translation:}}|Grabbable Reparent Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Grabbable Reparent Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Grabbable Reparent Block]]

Revision as of 15:26, 2 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 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