Pointer Drag Trail

Hello, I’m having an issue with a Rive animation that uses a script to control the pointer trail while dragging.

Inside Rive, everything works correctly: when I drag, the stroke/path follows the pointer as expected and the animation looks smooth.

However, when I use the same .riv file in Flutter, the drag behavior becomes glitchy. The trail/path does not update correctly and the animation looks unstable during the drag interaction.

So the behavior is:

  • In Rive editor/runtime: works well

  • In Flutter integration: the drag trail glitches

I’m trying to understand whether this could be related to:

  • differences between Rive and Flutter runtime behavior

  • pointer event handling in Flutter

  • update timing or frame synchronization

  • some limitation when using scripts that control path drawing during drag


Is there a recommended way to handle pointer-driven stroke/path drawing?