Skip to content

FFU Rotate Tile

Crowguard edited this page Aug 28, 2026 · 3 revisions

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

  • Use + and - to set or modify your rotation. Space is Important.
  • 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).
  • $\color{yellow}{\textsf{Important}}$: Foundry handles rotation by normalizing the value that gets set in rotation before it gets sent to the animation. So if your value is 180 or greater, it will instead animate the rotation in the shortest way possible; the opposite direction that you have set with the operator. A value of 360 will result in no rotation at all.

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

Clone this wiki locally