# How do I make a door open when a character walks into it?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-a-door-open-when-a-character-walks-into-it/463775>\
**Category:** Character & Animation\
**Tags:** how-do-i, unreal-engine, question\
**Created:** [April 14, 2020, 8:41pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-door-open-when-a-character-walks-into-it/463775 "2020-04-14T20:41:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qv19sh2Cl249Ing5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Qv19sh2Cl249Ing5](https://forums.unrealengine.com/u/Qv19sh2Cl249Ing5)\
**Post date:** [April 14, 2020, 8:41pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-door-open-when-a-character-walks-into-it/463775/1 "2020-04-14T20:41:49Z")

</div>

How do I make a door open when a character walks into it?

---

<div class="post-metadata">

**Author:** ![ViceVersa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ViceVersa](https://forums.unrealengine.com/u/ViceVersa)\
**Post date:** [April 14, 2020, 9:07pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-door-open-when-a-character-walks-into-it/463775/2 "2020-04-14T21:07:32Z")

</div>

Theres probably a hundred ways to do this, it can get a little complicated when you need it to automatically close as well, and then reopen if he walks back into it but you can do something like this

In the door blueprint (if its not in a blueprint put it in a blueprint) make an event or function with the functionality of opening the door

Add a collision sphere component to the blueprint

Add an OnCollisionBeginOverlap Function for the collision sphere  
drag out the bluepin that says other \> Cast to Character Blueprint \> then call the function for opening your door
