Component:HoverArea: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Added a description and a field description.
 
Line 3: Line 3:
|Name=Hover Area
|Name=Hover Area
}}
}}
{{stub}}


== Usage ==
The '''HoverArea''' component listens for a [[User|user]]'s hover event on a [[UIX]] element. This component only works when it has an interactable component on the same [[Slot]], such as a [[Component:Button|Button]].
 
{{Table ComponentFields
{{Table ComponentFields
|IsHovering|Bool|
|IsHovering|Bool|Updates when a user's hover event is detected.
}}
}}


== Behavior ==
== Usage ==


== Examples ==
== Examples ==
Line 18: Line 18:
[[Category:Components:UIX:Interaction{{#translation:}}|Hover Area]]
[[Category:Components:UIX:Interaction{{#translation:}}|Hover Area]]
[[Category:Components{{#translation:}}|Hover Area]]
[[Category:Components{{#translation:}}|Hover Area]]
[[Category:ComponentStubs]]

Latest revision as of 09:48, 27 July 2024

Component image 
Hover Area component as seen in the Scene Inspector


The HoverArea component listens for a user's hover event on a UIX element. This component only works when it has an interactable component on the same Slot, such as a Button.

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.
IsHovering Bool Updates when a user's hover event is detected.

Usage

Examples

See Also