Component:InteractionBlock: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Filled in this component page.
Line 1: Line 1:
Used to block [[UIX]] interaction.
 


<languages></languages>
<languages></languages>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=InteractionBlockComponent.png
|Image=InteractionBlockComponent.png
Line 11: Line 10:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''InteractionBlock''' component is used to block [[UIX]] interaction events.
 
{{Note|This component does not block interactable UIX elements such as [[Component:Button|buttons]], [[Component:Checkbox|Checkboxes]], or any other interactable element through physical touch or remote (laser) touch.|warning}}


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TouchExitLock|Bool|
|TouchExitLock|Bool|Blocks interactions when an interaction ends.
|TouchEnterLock|Bool|
|TouchEnterLock|Bool|Blocks interactions when an interaction starts.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==


<!--T:5-->
<!--T:5-->
Line 30: Line 30:
</translate>
</translate>
[[Category:Components{{#translation:}}|Interaction Block]]
[[Category:Components{{#translation:}}|Interaction Block]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Interaction Block]]
[[Category:Components:UIX:Interaction{{#translation:}}|Interaction Block]]

Revision as of 07:18, 22 July 2024


Component image 
InteractionBlock component as seen in the Scene Inspector


The InteractionBlock component is used to block UIX interaction events.

This component does not block interactable UIX elements such as buttons, Checkboxes, or any other interactable element through physical touch or remote (laser) touch.
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.
TouchExitLock Bool Blocks interactions when an interaction ends.
TouchEnterLock Bool Blocks interactions when an interaction starts.

Usage

Examples

Related Components