Register

Drag Ruler

An Add-on Module for Foundry Virtual Tabletop

Author: Stäbchenfisch Project Source: Project URL Versions 12 - 12 (Verified 12) Last Updated 3 months, 3 weeks ago

This module shows a ruler when you drag a token or measurement template to inform you how far you've dragged it from its start point. Additionally, if you're using a grid, the spaces the token will travel though will be colored depending on your tokens speed. By default, three colors are being used: green for spaces that your token can reach by walking normally are colored green, spaces that can only be reached by dashing will be colored red and spaces that cannot be reached with the token's speed will be colored red. If you're using a gridless map the ruler color will change to convey this information.

Drag Ruler being used on a square grids

Drag Ruler being used on a gridless scene

Drag Ruler while dragging a measurement template

Supports Tokens of all sizes

Terrain ruler has excellent support for tokens of all sizes. The Ruler will always originate from the token's center and will always highlight all the squares that tokens move over. If the Hex Token Size Support is installed this is also true for large tokens on hex scenes.

Drag Ruler being used with a large token on a square grid

Drag Ruler being used with a large token on a hex grid

Difficult Terrain support

To use support for difficult terrain you must install the Terrain Ruler module

With the Terrain Ruler module installed, Drag Ruler is able to take difficult terrain that was placed down using the Enhanced Terrain Layer or TerrainLayer module into account.

Drag Ruler being used to measure distances over difficult terrain on square grid

Drag Ruler being used to measure distances over difficult terrain on gridless scenes

Movement history (optional)

This feature can be disabled in the settings if you don't like it

During combat, Drag Ruler will remember the path a token has taken during it's turn. When the token is being picked up again, Drag Ruler will continue measuring where it has left off. The path of the previous movement will be dipslayed in a faded color.

Demonstration of the Movement History

Pathfinding

To use pathfinding you must install the routinglib module

When routinglib is installed, Drag Ruler can automatically place waypoints to walk around walls and terrain to reach the destination with the shortest possible movement. Pathfinding can be activated using a configurable key. Alternatively, Drag Ruler can be configured to always use pathfinding when a token is being dragged.

Pathfinding is restricted to GM users by default, since the pathfinding algorithm can create ways that lead through unexplored fog of war. If you want to allow your players to use Drag Ruler's pathfinding functionality, you need to enable the associated setting in Drag Ruler's module settings.

Demonstration of pathfinding

 

Game systems with Drag Ruler integration

Drag Ruler works with all FoundryVTT game systems. However, some game systems provide an integration that allows Drag Ruler to understand the rules of the game system and as a result provide an extra smooth experience.

The game systems that offer Drag Ruler integration are:

 

For further information go to the Project URL.

 

Categories

Available Versions

  1. Version 1.14.2

    3 months, 3 weeks ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  2. Version 1.14.1

    3 months, 3 weeks ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  3. Version 1.14.0

    3 months, 3 weeks ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  4. Version 1.13.8

    1 year, 5 months ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  5. Version 1.13.7

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  6. Version 1.13.6

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  7. Version 1.13.5

    Foundry Version 11+ (Verified 11) Manifest URL Read Notes
  8. Version 1.13.4

    Foundry Version 10+ (Verified 10) Manifest URL Read Notes
  9. Version 1.13.3

    Foundry Version 10+ (Verified 10) Manifest URL Read Notes
  10. Version 1.13.2

    Foundry Version 10+ (Verified 10) Manifest URL Read Notes
  11. Version 1.13.1

    Foundry Version 10+ (Verified 10) Manifest URL Read Notes
  12. Version 1.13.0

    Foundry Version 10+ (Verified 10) Manifest URL Read Notes
  13. Version 1.12.8

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  14. Version 1.12.7

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  15. Version 1.12.6

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  16. Version 1.12.5

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  17. Version 1.12.4

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  18. Version 1.12.3

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  19. Version 1.12.2

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  20. Version 1.12.1

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  21. Version 1.12.0

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  22. Version 1.11.5

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  23. Version 1.11.4

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  24. Version 1.11.3

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  25. Version 1.11.2

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  26. Version 1.11.1

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  27. Version 1.11.0

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  28. Version 1.10.3

    Foundry Version 9.245+ (Verified 9) Manifest URL Read Notes
  29. Version 1.10.2

    Foundry Version 9.238+ (Verified 9) Manifest URL Read Notes
  30. Version 1.10.1

    Foundry Version 9.238+ (Verified 9) Manifest URL Read Notes
  31. Version 1.10.0

    Foundry Version 9.238+ (Verified 9) Manifest URL Read Notes
  32. Version 1.9.1

    Foundry Version 0.8.5+ (Verified 0.8.9) Manifest URL Read Notes
  33. Version 1.9.0

    Foundry Version 0.8.5+ (Verified 0.8.9) Manifest URL Read Notes
  34. Version 1.8.2

    Foundry Version 0.8.5+ (Verified 0.8.9) Manifest URL Read Notes
  35. Version 1.8.1

    Foundry Version 0.8.5+ (Verified 0.8.8) Manifest URL Read Notes
  36. Version 1.8.0

    Foundry Version 0.8.5+ (Verified 0.8.8) Manifest URL Read Notes
  37. Version 1.7.7

    Foundry Version 0.8.5+ (Verified 0.8.8) Manifest URL Read Notes
  38. Version 1.7.6

    Foundry Version 0.8.5+ (Verified 0.8.8) Manifest URL Read Notes
  39. Version 1.7.5

    Foundry Version 0.8.5+ (Verified 0.8.7) Manifest URL Read Notes
  40. Version 1.7.4

    Foundry Version 0.8.5+ (Verified 0.8.7) Manifest URL Read Notes
  41. Version 1.7.3

    Foundry Version 0.8.5+ (Verified 0.8.5) Manifest URL Read Notes
  42. Version 1.7.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  43. Version 1.7.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  44. Version 1.7.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  45. Version 1.6.5

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  46. Version 1.6.4

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  47. Version 1.6.3

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  48. Version 1.6.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  49. Version 1.6.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  50. Version 1.6.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  51. Version 1.5.4

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  52. Version 1.5.3

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  53. Version 1.5.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  54. Version 1.5.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  55. Version 1.5.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  56. Version 1.4.6

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  57. Version 1.4.5

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  58. Version 1.4.4

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  59. Version 1.4.3

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  60. Version 1.4.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  61. Version 1.4.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  62. Version 1.4.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  63. Version 1.3.5

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  64. Version 1.3.4

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  65. Version 1.3.3

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  66. Version 1.3.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  67. Version 1.3.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  68. Version 1.3.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  69. Version 1.2.2

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  70. Version 1.2.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  71. Version 1.2.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  72. Version 1.1.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  73. Version 1.1.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  74. Version 1.0.1

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL Read Notes
  75. Version 1.0.0

    Foundry Version 0.7.9+ (Verified 0.7.9) Manifest URL