# How to pass bone to Modify with c++ in Transform (Modify) Bone inside AnimGraph

**URL:** <https://forums.unrealengine.com/t/how-to-pass-bone-to-modify-with-c-in-transform-modify-bone-inside-animgraph/741980>\
**Category:** C++\
**Tags:** bone-transform, unreal-engine\
**Created:** [January 4, 2023, 12:43pm UTC](https://forums.unrealengine.com/t/how-to-pass-bone-to-modify-with-c-in-transform-modify-bone-inside-animgraph/741980 "2023-01-04T12:43:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![undev1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@undev1](https://forums.unrealengine.com/u/undev1)\
**Post date:** [January 4, 2023, 12:43pm UTC](https://forums.unrealengine.com/t/how-to-pass-bone-to-modify-with-c-in-transform-modify-bone-inside-animgraph/741980/1 "2023-01-04T12:43:04Z")

</div>

![Screenshot 2023-01-04 at 6.07.16 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/0/6204c4fc90e8fbe88c2cdc53d9b2a3e07d479fb5.jpeg)

We are trying to change bone transform of skeleton but we want to pass bone with code instead of select it manually is there we to pass bones in animgraph?

---

<div class="post-metadata">

**Author:** ![Mbabitz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mbabitz](https://forums.unrealengine.com/u/Mbabitz)\
**Post date:** [June 30, 2023, 3:22pm UTC](https://forums.unrealengine.com/t/how-to-pass-bone-to-modify-with-c-in-transform-modify-bone-inside-animgraph/741980/2 "2023-06-30T15:22:43Z")

</div>

Hey there, have you found a way already? i’d be interested in that one too.

I tried to figure it out with this file: “\Engine\Source\Runtime\AnimGraphRuntime\Public\BoneControllers\AnimNode\_ModifyBone.h”

UPROPERTY(EditAnywhere, Category=SkeletalControl)  
FBoneReference BoneToModify;

would need something like “meta=(PinShownByDefault)” in the UPROPERTY

but i can’t get something to work.
