# How to programatically set the \`initialPosition\` and \`playRate\` fields of a SkeletalMeshComponent?

**URL:** <https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [April 17, 2023, 3:23pm UTC](https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017 "2023-04-17T15:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![papunglian](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/papunglian/32/693304_2.png) [@papunglian](https://forums.unrealengine.com/u/papunglian)\
**Post date:** [April 17, 2023, 3:23pm UTC](https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017/1 "2023-04-17T15:23:21Z")

</div>

I want to be able to programatically set the `initialPosition` and `playRate` fields of a SkeletalMeshComponent. I have been unable to access these parameters.

So, I thought to use an animated\_mesh\_device, that provides access to these parameters in the UI.

However, these same parameters appear to be inaccessible when I try to access them from the Verse creative device I created for that purpose. Below is an example of how I approached the problem:

```auto
 @editable
    myAnimatedMeshes : []animated_mesh_device = array{}

 OnBegin<override>()<suspends>:void=
      for (i:int := 0..myAnimatedMeshes.Length - 1):
            if (aniMesh := myAnimatedMeshes[i]):
                aniMesh.playRate := 5

```

As I am new to Verse, I am quite unsure about how to approach this seeming simple problem. Any insights as to how to go about solving this problem would be much appreciated.

---

<div class="post-metadata">

**Author:** ![papunglian](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/papunglian/32/693304_2.png) [@papunglian](https://forums.unrealengine.com/u/papunglian)\
**Post date:** [April 21, 2023, 12:57pm UTC](https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017/2 "2023-04-21T12:57:07Z")

</div>

Hoping to re-activate this question since I am still without solution.
