# Event tick in Construction Script?

**URL:** <https://forums.unrealengine.com/t/event-tick-in-construction-script/476049>\
**Category:** Character & Animation\
**Tags:** event-tick, unreal-engine, question\
**Created:** [December 17, 2020, 1:05pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049 "2020-12-17T13:05:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ast](https://forums.unrealengine.com/u/Ast)\
**Post date:** [December 17, 2020, 1:05pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/1 "2020-12-17T13:05:32Z")

</div>

Hi,  
I created a BP that has a SkeletalMesh and some cubes inside. In Construction Script, each of these cubes are positioned in the SkeletalMesh bone locations, for example:

Name: Cubo\_Head  
SetWorldLocation: SkeletalMesh\> Head (bone)

I need them to receive only the “World Position” of each bone in each frame during handling and not in the game!

The problem is that if I create a “Set World Location” for each Cube for each Bone in Construction Script, but when I create the animation in the sequencer with this SkeletalMesh, the Cubes’ positions do not update!

I need the location of the Cubes to be updated all the time, so when I am handling SkeletalMesh in the Sequencer, the position of these Cubes is updated every frame!

Does anyone have a solution? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 17, 2020, 5:06pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/2 "2020-12-17T17:06:32Z")

</div>

Hello! Just attach your cubes to bones with this

- [AActor::AttachToActor | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AActor/AttachToActor/index.html)
- [Attach Actor To Component (Deprecated) - Blueprint Visual Scripting - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/89813-attach-actor-to-component-deprecated)

Do it only once and that should work.

---

<div class="post-metadata">

**Author:** ![Ast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ast](https://forums.unrealengine.com/u/Ast)\
**Post date:** [December 17, 2020, 7:54pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/3 "2020-12-17T19:54:18Z")

</div>

When I use the “Attach” in the cube mentioned in the example, it inherits the SkeletalMesh Bone rotations … I need it to only inherit Bone’s “WorldPosition” and during handling in the “Sequencer” and not only during the game !

When I use these two options, the Cube even inherits the rotations, which is not what is desired …

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 18, 2020, 2:49am UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/4 "2020-12-18T02:49:05Z")

</div>

Just configure FAttachmentTransformRules for your case ([FAttachmentTransformRules | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/API/Runtime/Engine/Engine/FAttachmentTransformRules/index.html))

---

<div class="post-metadata">

**Author:** ![Ast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ast](https://forums.unrealengine.com/u/Ast)\
**Post date:** [December 18, 2020, 8:15pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/5 "2020-12-18T20:15:30Z")

</div>

Thank you for the response and attention. But I didn’t understand anything about how it works! I tried searching on Google and found no tutorial on how to use …

I am a beginner in UE4. I use BPs and not C ++.

Anyway, I am grateful for your answer! Thanks!

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 20, 2020, 2:59pm UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/6 "2020-12-20T14:59:10Z")

</div>

Hi there! You can try this

 ![325256-image-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/8/df877690a96f26b0e70cf71c6ba548d8aa21dd78.png)

---

<div class="post-metadata">

**Author:** ![Ast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ast](https://forums.unrealengine.com/u/Ast)\
**Post date:** [December 22, 2020, 8:09am UTC](https://forums.unrealengine.com/t/event-tick-in-construction-script/476049/7 "2020-12-22T08:09:46Z")

</div>

Dude, you really helped me! Thank you so much! That was really cool! Eternal gratitude! XD
