# How do I get the bone rotation of a Mesh before Transform (Modify) Bone's changes?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-the-bone-rotation-of-a-mesh-before-transform-modify-bones-changes/486204>\
**Category:** Character & Animation\
**Tags:** unreal-engine, bone-rotation, question\
**Created:** [July 14, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/how-do-i-get-the-bone-rotation-of-a-mesh-before-transform-modify-bones-changes/486204 "2021-07-14T19:20:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GloomySketchbook](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GloomySketchbook](https://forums.unrealengine.com/u/GloomySketchbook)\
**Post date:** [July 14, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/how-do-i-get-the-bone-rotation-of-a-mesh-before-transform-modify-bones-changes/486204/1 "2021-07-14T19:20:23Z")

</div>

I’d like to rotate bones of my Skeletal Mesh dynamically, depending on the original rotation of a bone.

To get the bone rotation, I use **Get Socket Transform \> Break Transform** , or **Get Socket Rotation**.

To add to the bone rotation, I use **Transform (Modify) Bone**, with the rotation mode **Add to Existing**.

The issue is that both “get” functions return _modified_ rotation values, while **Transform (Modify) Bone** works on the _unmodified_ rotation values.

For example, say I have an animation that has a rotation of 150 for a certain bone, and I’m going to apply a constant roll of -90 to that bone.

On the first frame, it’ll rotate the bone 150 + -90 =\> 60. Then on the second frame, it’ll do the same rotation the bone, 150 + -90 =\> 60.

But when it comes to the “get” functions, they’ll both read 60, the post-modification values, instead of 150 which I need.
