tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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.