Small correction, it is for all UIX elements. added a bit more to the description.
Line 10:
Line 10:
<!--T:2-->
<!--T:2-->
The '''InteractionBlock''' component is used to block [[UIX]] interaction events. It requires an [[Component:Image|Image]] on the same [[Slot]] this component is on for this to work.
The '''InteractionBlock''' component is used to block [[UIX]] interaction events from the [[User|user]]. It requires an [[Component:Image|Image]] on the same [[Slot]] this component is on for this to work.
{{Note|Order matters, using the <code>OrderOffset</code> will determine what gets blocked based on the slot hierarchy. Keep in mind the layers of the slots, usually anything behind this component's slot (a lower <code>OrderOffset</code>) will no longer be interactable.|warning}}
{{Note|Order matters, using the <code>OrderOffset</code> will determine what gets blocked based on the slot hierarchy. Keep in mind the layers of the slots, usually anything behind this component's slot (a lower <code>OrderOffset</code>) will no longer be interactable.|warning}}
Line 22:
Line 22:
<!--T:4-->
<!--T:4-->
== Usage ==
== Usage ==
Any time you want to stop buttons from interacting (like having a popup menu to be on top of your main UIX), you can use this component to make the main UIX buttons not respond to the user, making them focus on the newly spawned UIX.
Any time you want to stop any UIX element from interacting (like having a popup menu to be on top of your main UIX), you can use this component to make the main UIX elements not respond to the user, making them focus on the newly spawned UIX.
The InteractionBlock component is used to block UIX interaction events from the user. It requires an Image on the same Slot this component is on for this to work.
Order matters, using the OrderOffset will determine what gets blocked based on the slot hierarchy. Keep in mind the layers of the slots, usually anything behind this component's slot (a lower OrderOffset) will no longer be interactable.
Any time you want to stop any UIX element from interacting (like having a popup menu to be on top of your main UIX), you can use this component to make the main UIX elements not respond to the user, making them focus on the newly spawned UIX.