Skip to main content
Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Scripting API
Context
Home
Editor
Scripting
App Runtimes
Game Runtimes
Feature Support
Tutorials
Case Studies
Community
Blog
Early Access
Scripting
Getting Started
Demos
Creating Scripts
Protocols
Data Binding
Script Inputs
Pointer Events
Debugging
Keyboard Shortcuts
Scripting API
Animation
Artboard
BlendMode
Blob
Color
CommandType
Context
ContourMeasure
Converter
DataContext
DataValue
DataValueBoolean
DataValueColor
DataValueNumber
DataValueString
EnumValues
Gradient
GradientStop
Image
ImageFilter
ImageSampler
ImageWrap
Input
Layout
Listener
ListenerAction
Mat2D
Node
NodeData
NodeReadData
Output
Paint
PaintDefinition
PaintStyle
Path
PathCommand
PathData
PathEffect
PathMeasure
PointerEvent
Property
PropertyEnum
PropertyList
PropertyTrigger
PropertyViewModel
Renderer
StrokeCap
StrokeJoin
TransitionCondition
Trigger
Vector
ViewModel
On this page
Methods
markNeedsUpdate
viewModel
rootViewModel
dataContext
image
blob
Scripting API
Context
Provides access to update scheduling for scripted objects.
Methods
markNeedsUpdate
Marks the object as needing an update on the next frame.
viewModel
Returns the data context view model
rootViewModel
Returns the root data context view model
dataContext
Returns the data context provided to this node
image
Returns an image asset by name, or nil if not found
blob
Returns a blob asset by name, or nil if not found.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
CommandType
ContourMeasure
⌘I