No intersection from <Canvas onPointerMove > #1190
-
Hey everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
there are no events on the canvas component, which is just a portal with a resize-observer basically. not even generic dom events. you can put them on meshes and groups. if you want to raycast the entire scene (which isnt often the best idea) wrap everything into a group: <Canvas>
<group onPointerMove={...}>
... |
Beta Was this translation helpful? Give feedback.
there are no events on the canvas component, which is just a portal with a resize-observer basically. not even generic dom events. you can put them on meshes and groups. if you want to raycast the entire scene (which isnt often the best idea) wrap everything into a group: