Skip to main content
Rive home page
Search...
⌘K
Support
Get Rive
Get Rive
Search...
Navigation
Artboards
KeyboardEvent
Home
Editor
Scripting
Runtimes
Learn
Getting Started
Demos
Creating Scripts
Protocols (Script Types)
Data Binding
Script Inputs
Pointer Events
Debugging
Configuration
Keyboard Shortcuts
Scripting API
Artboards
Animation
Artboard
FocusEvent
KeyPhase
KeyboardEvent
ListenerContext
NodeData
NodeReadData
NoneEvent
PointerEvent
PointerType
ReportedEvent
TextInput
ViewModel
ViewModelChange
Color
DataValue
Gradient
Image
Interfaces
Mat2d
Paint
Path
Renderer
Vec2d
On this page
Fields
key
shift
control
alt
meta
phase
Artboards
KeyboardEvent
Copy page
Copy page
Represents a keyboard interaction.
Fields
key
The pressed key
shift
Whether the shift modifier is pressed.
control
Whether the control modifier is pressed.
alt
Whether the alt modifier is pressed.
meta
Whether the meta modifier is pressed.
phase
Phase of the keyboard event (down, repeat or up).
Was this page helpful?
Yes
No
Suggest edits
Raise issue
KeyPhase
ListenerContext
⌘I