Skip to main content
Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Scripting API
NodeReadData
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
Fields
position
rotation
scale
worldTransform
x
y
scaleX
scaleY
paint
Methods
asPath
asPaint
Scripting API
NodeReadData
Represents a node in the hierarchy, providing transform properties and access to parent and child nodes.
Fields
position
The local position of the node.
rotation
The local rotation of the node in radians.
scale
The local scale of the node.
worldTransform
The world transform of the node.
x
The x-coordinate of the local position.
y
The y-coordinate of the local position.
scaleX
The x component of the local scale.
scaleY
The y component of the local scale.
paint
If node is a Path, paint trait is available with paint data
Methods
asPath
If node is a Path, returns the node as PathData
asPaint
If node is a ShapePaint (Fill or Stroke), returns node as Paint
Was this page helpful?
Yes
No
Suggest edits
Raise issue
NodeData
Output
⌘I