tModLoader v2024.10
A mod to make and play Terraria mods
UIEvent Class Reference

Inherited by UIMouseEvent.

Public Member Functions

 UIEvent (UIElement target)
 

Public Attributes

readonly UIElement Target
 The element targeted by the mouse event. This is usually the element lowest in the UI hierarchy overlapping with mouse position unless UIElement.IgnoresMouseInteraction is true.