Skip to main content
Rive home page
Search...
⌘K
Learn
Support
Get Rive
Get Rive
Search...
Navigation
Artboards
KeyboardEvent
Home
Editor
Scripting
Runtimes
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 key code of the pressed key.
shift
True if the Shift modifier is active.
control
True if the Control modifier is active.
alt
True if the Alt modifier is active.
meta
True if the Meta (Command/Windows) modifier is active.
phase
The current phase (
KeyPhase
) of the interaction.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
KeyPhase
ListenerContext
⌘I