UiEvent

Show declaration
struct UiEvent ui version("2.4");

The information for a StaticEventHandler.UiProcess event.

Instance Members

readOnly EGuiEvent Type

The kind of UI event this is.

readOnly string KeyString

The character code for this event as a string, if it is used and can be represented as one.

readOnly int KeyChar

The character code for this event as an integer, if it is used and can be represented as one. This value may also be one of UiEvent.ESpecialGuiKeys.

readOnly int MouseX

The horizontal mouse position differential1 for mouse events.

readOnly int MouseY

The vertical mouse position differential1 for mouse events.

readOnly bool IsShift

true if the "shift" key was held down during this event.

readOnly bool IsCtrl

true if the "control" key was held down during this event.

readOnly bool IsAlt

true if the "alt" key was held down during this event.

Overview of instance members

IsAlt, IsCtrl, IsShift, KeyChar, KeyString, MouseX, MouseY, Type

1

The difference between the last known position and the current position.