Answers.Body: <p>this script rotates the currently selected layer(s) 0.1 degree clockwise. Save it as rotate_0.1_cw.jsx and then <a href="https://helpx.adobe.com/after-effects/using/scripts.html" rel="nofollow noreferrer">add it to a hotkey</a>. Change the line <code>var inc = 0.1;</code> to <code>var inc = -0.1;</code> save as rotate_0.1_ccw.jsx and add it to another hotkey. Rinse, repeat.</p>
  <pre><code>// @target aftereffects
  (function () {
      var theComp = app.project.activeItem;
      if (theComp) {
          var theLayers = theComp.selectedLayers;
          for (var i = 0; i &lt; theLayers.length; i++) {
              if (theLayers[i].transform.rotation.numKeys) {
                  theLayers[i].transform.rotation.setValueAtTime(theComp.time, theLayers[i].transform.rotation.value + 0.1);
              } else {
                  theLayers[i].transform.rotation.setValue(theLayers[i].transform.rotation.value + 0.1);
              }
          }
      }
  })()
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-02-11T04:11:08.283Z
Answers.LastActivityDate: 2022-02-11T04:11:08.283Z
Answers.UserDisplayName: stib
Body: <p>Was looking for hotkeys to ease working in AE and found a bunch but for rotation, it only allows 1 or 10 degrees at a time.</p>
  <p>Is there any hotkey to rotate the layer by 0.1 or 0.5 degrees?</p>
  <p>Or is there any way to hack/customize it?</p>
  
Tags: <after-effects>
Title: After Effects rotate hotkey
UserDisplayName: Daniel S
ThreadText: # After Effects rotate hotkey
  
  (Asked by: username_0 on 2022-02-10)
  
  Was looking for hotkeys to ease working in AE and found a bunch but for rotation, it only allows 1 or 10 degrees at a time.
  
  Is there any hotkey to rotate the layer by 0.1 or 0.5 degrees?
  
  Or is there any way to hack/customize it?
  
  **Tags:** after-effects
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-02-11. Score: 2 | Accepted answer
  
  this script rotates the currently selected layer(s) 0.1 degree clockwise. Save it as rotate\_0.1\_cw.jsx and then [add it to a hotkey](https://helpx.adobe.com/after-effects/using/scripts.html). Change the line `var inc = 0.1;` to `var inc = -0.1;` save as rotate\_0.1\_ccw.jsx and add it to another hotkey. Rinse, repeat.
  
  ```
  // @target aftereffects
  (function () {
      var theComp = app.project.activeItem;
      if (theComp) {
          var theLayers = theComp.selectedLayers;
          for (var i = 0; i < theLayers.length; i++) {
              if (theLayers[i].transform.rotation.numKeys) {
                  theLayers[i].transform.rotation.setValueAtTime(theComp.time, theLayers[i].transform.rotation.value + 0.1);
              } else {
                  theLayers[i].transform.rotation.setValue(theLayers[i].transform.rotation.value + 0.1);
              }
          }
      }
  })()
  
  ```
  
  
  ---
  
  