tModLoader v2024.11
A mod to make and play Terraria mods
UIMouseEvent Class Reference

Inherits UIEvent.

Inherited by UIScrollWheelEvent.

Public Member Functions

 UIMouseEvent (UIElement target, Vector2 mousePosition)
 
- Public Member Functions inherited from UIEvent
 UIEvent (UIElement target)
 

Public Attributes

readonly Vector2 MousePosition
 
- Public Attributes inherited from UIEvent
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.