Measure distance between two points.
pf1.utils.measureDistance(token, game.user.targets.first()); Copy
pf1.utils.measureDistance(token, game.user.targets.first());
Start point on canvas
End point on canvas
Optional
Measuring options.
Used diagonal rule. Defaults to 5/10/5 PF measuring.
Pre-generated ray to use instead of the points.
Optional state tracking across multiple measures.
Measure distance between two points.
Deprecated
Example