Summary

Keyboard (and mouse) key press <see cref="T:Sandbox.UI.PanelEvent" />.

Properties

Button The button that triggered the event.
HasAlt Whether <c>Alt</c> key was being held down at the time of the event.
HasCtrl Whether <c>Control</c> key was being held down at the time of the event.
HasShift Whether <c>Shift</c> key was being held down at the time of the event.
KeyboardModifiers The keyboard modifier keys that were held down at the moment the event triggered.
Pressed Whether the button was pressed in, or release.
StopPropagation Set to <see langword="true" /> to prevent the event from propagating to the parent panel.
VirtualKey

Methods

<Clone>$
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.