FFU Rotate Tile - ironmonk108/monks-module-wiki GitHub Wiki

Rotate Tile

Rotates one or more tiles to an absolute angle or by a relative amount, featuring smooth animation across the 0°/360° boundary.

This is FoundryFan's fix for the rotation bug that occurs with the normal Rotation action. -Crow

Use this to directly rotate an entity; the following entity types are able to be targeted.

This Tile

Use this to rotate the tile itself.

Current Tiles

Use this to rotate the current tile collection.

Use Tagger

Use this to rotate all entities of a valid type with a Tag matching your Use Tagger settings.

Rotation

  • Absolute Rotation: Enter a target number (e.g., 90, +100, -90). The + is optional here.
  • Relative Rotation: Prefix with a + or - sign and a space to rotate relative to current rotation (e.g., + 45, - 90, + 720).
  • Accepts Dice Notation to rotate a random amount. + [[1d6]]
  • Accepts Handlebar Expressions to rotate an amount equal to a stored variable. + {{variable.valuename}}
  • Accepts ternary operator to toggle between two values, 10 and 20 in the following example: = ({{entity.rotation}} || 0) == 10 ? 20 : 10
  • Accepts clamp function; = Math.clamp(({{entity.rotation}} + 10), 150, 200).

Duration

The total time in seconds for the rotation animation to complete.

  • Default is 5 seconds.
  • Set to 0 for an instantaneous snap rotation.

Notes

Page Last Updated

  • Foundry 13.360
  • MATT 13.06
  • FoundryFan Utilities 1.5.0
⚠️ **GitHub.com Fallback** ⚠️