# Can I connect an animation and a component?

**URL:** <https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054>\
**Category:** Character & Animation\
**Tags:** doors, unreal-engine, question\
**Created:** [March 30, 2020, 2:45am UTC](https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054 "2020-03-30T02:45:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ac8812c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ac8812c9](https://forums.unrealengine.com/u/anonymous_user_ac8812c9)\
**Post date:** [March 30, 2020, 2:45am UTC](https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054/1 "2020-03-30T02:45:36Z")

</div>

I would like to create an animation to open a door (pressing with the hand on the handle).  
I could do an animation inside for the door that opens and one for the character who presses on the handle, but when the door opens they would become disynced.  
what is the most optimal way to do such a thing?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 30, 2020, 7:59am UTC](https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054/2 "2020-03-30T07:59:59Z")

</div>

I’m assuming the door is a BP or a collection of actors.

What’s wrong with moving the handle down, the opening the door, the moving the handle up again?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ac8812c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ac8812c9](https://forums.unrealengine.com/u/anonymous_user_ac8812c9)\
**Post date:** [April 14, 2020, 4:15am UTC](https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054/3 "2020-04-14T04:15:38Z")

</div>

the handle and the hand must be synchronized when they open, because in case I don’t, it will seem that the door opens by itself.  
I would like to know if this is the most correct method to do it or there is a simpler or more accurate method than to create two separate animations and synchronize them.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2020, 7:26am UTC](https://forums.unrealengine.com/t/can-i-connect-an-animation-and-a-component/463054/4 "2020-04-14T07:26:49Z")

</div>

The you might need to connect them with a socket:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/a/c0a6dddd0590ffc26ef53530f91d92217d517472.jpeg "Skeleton Assets: Using Sockets | 04 | v4.8 Tutorial Series | Unreal Engine") ](https://www.youtube.com/watch?v=DyPq1-JGMKY)
