Skip to main content
Rive home page
Search...
⌘K
Ask AI
Support
Get Started
Get Started
Search...
Navigation
Scripting API
PointerEvent
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
AI Coding Agent
Keyboard Shortcuts
Scripting API
Animation
Artboard
BlendMode
Color
CommandType
Context
ContourMeasure
Converter
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
Trigger
Vector
ViewModel
On this page
Fields
position
id
Constructors
new
Methods
hit
Scripting API
PointerEvent
Represents a pointer interaction event containing position and pointer id.
Fields
position
Represents a pointer interaction event containing position and pointer id. The position of the pointer in local coordinates.
id
The unique identifier for the pointer.
Constructors
new
Copy
Ask AI
new
Creates a new
PointerEvent
with the given id and position.
Methods
hit
Copy
Ask AI
hit
(
self
:
PointerEvent
,
isTranslucent
:
boolean
?)
->
()
Marks the event as handled. If isTranslucent is true, the event may continue to propagate through translucent hit targets.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
PathMeasure
Property
⌘I