s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Structs
KeyEvent
chevron_left Structs
struct
KeyEvent

Properties

data_objectAccepteddata_objectHasAltdata_objectHasCtrldata_objectHasShiftdata_objectIsAutoRepeatdata_objectKeydata_objectKeyboardModifiersdata_objectNamedata_objectNativeKeyCodedata_objectNativeScanCodedata_objectText

Methods

functionsGetButtonCodeName
KeyEvent
Information about a Editor.Widgets keyboard event.
struct Editor .
sealedSandbox.Tools

data_object Properties 11

Accepted
bool
HasAlt
bool
HasCtrl
bool
HasShift
bool
IsAutoRepeat
bool
Whether this key event was generated by keyboard auto-repeat.
Key
KeyCode
The key that triggered this event.
KeyboardModifiers
KeyboardModifiers
Name
string
The name of the key that triggered this event.
NativeKeyCode
UInt32
OS specific key code that triggered this event.
NativeScanCode
UInt32
The native scan code.
Text
string
Text the Editor.KeyEvent.Key would type in a text field.

functions Methods 1

GetButtonCodeName ()
string
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter