Capítulo 253 de 411
The object underlying InertiaPlugin.track() — automatically records timestamped samples of tracked properties so their velocity can be read anytime via getVelocity(), without hand-rolled position/timestamp bookkeeping.
let tracker = VelocityTracker.track(obj, "x,y")[0];
// after at least ~100ms and 2 ticks:
let vx = tracker.get("x");
let vy = tracker.get("y");
VelocityTracker.track() (or InertiaPlugin.track(), equivalent) rather than the constructor directly — only one tracker instance should exist per object.InertiaPlugin.getVelocity() is the more common entry point.