Component:DuplicateBlock: Difference between revisions

From Resonite Wiki
add info and remove component stub
Updated description, added links.
 
Line 9: Line 9:


<!--T:2-->
<!--T:2-->
Blocks duplication of a [[Grabbable (Component)|Grabbable]] item using the [[Context menu]], but not via the [[Scene Inspector]].
The '''Duplicate Block''' component blocks duplication of a [[Grabbable (Component)|Grabbable]] [[Slot|slot]] [[Tag|tagged]] with this component by using the [[Context menu]], but not via the [[Scene Inspector]] or [[ProtoFlux]].


== Fields ==
== Fields ==

Latest revision as of 22:27, 20 March 2025


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


Component image 
Duplicate Block component as seen in the Scene Inspector


The Duplicate Block component blocks duplication of a Grabbable slot tagged with this component by using the Context menu, but not via the Scene Inspector or ProtoFlux.

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.

Usage

Examples

Can be used to prevent users from duplicating cards during a card game, or for other key items that need to stay unique.

Related Components