Let's say I have a map with snap-to-grid turned on. Now let's say that a script rotates a token, but the new rotation is not in the grid increment. For example, the token is rotated to 37 degrees on a square map. Now let's say that as a next step, I want the script to snap the token's rotation to the nearest snap angle (in the case of 37 degrees, it would snap to 45). Is it possible to do this with a simple script? I recognize that I could do this with some math scripting that finds the nearest snap angle and then rotates the token to that angle. But I'm wondering if there is a script that just snaps the selected token to the grid, kind of like what happens when I rotate the token manually. Thanks in advance.