# ウィジェットを消したいのですが消えません。

**URL:** <https://forums.unrealengine.com/t/topic/479518>\
**Category:** UI\
**Tags:** remove-from-parent, unreal-engine, Widget, question\
**Created:** [February 27, 2021, 2:28pm UTC](https://forums.unrealengine.com/t/topic/479518 "2021-02-27T14:28:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ground\_well](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ground\_well](https://forums.unrealengine.com/u/ground_well)\
**Post date:** [February 27, 2021, 2:28pm UTC](https://forums.unrealengine.com/t/topic/479518/1 "2021-02-27T14:28:53Z")

</div>

一方通行の扉を作成しています。

片側には開くためのコリジョン、もう一方には「開かない」というウィジェットを出すためのコリジョンを配置しています。

画像のようにブループリントを組んでキャラクターがオーバーラップして1秒間だけウィジェットを表示させようとしましたが、消えることなく永遠に表示されたままです。

「RemoveFromParent」で消えると思っておりましたが、私は何か勘違いを起こしているのでしょうか？

本当の理想としてはエンドオーバーラップしたら文字が消えるです……。

初歩的な質問で申し訳ございません。

 ![331092-dontopen.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/6/8865e061f2fd1ce32372c134e0e091428f693127.jpeg)

 ![331093-dontopen2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/3/08357a615913704254ade4cb2c89ef8ac1cbb306.jpeg)

---

<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:** [February 27, 2021, 4:08pm UTC](https://forums.unrealengine.com/t/topic/479518/2 "2021-02-27T16:08:47Z")

</div>

これはEventActorBeginOverlapには当てはまりますが、OnComponentBeginOverlapには当てはまりません。その場合、次のものが必要です

 ![331090-screenshot-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/c/fccbd8248e2398506c3fcc263c78dcd5c21137aa.jpeg)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 27, 2021, 5:33pm UTC](https://forums.unrealengine.com/t/topic/479518/3 "2021-02-27T17:33:01Z")

</div>

I can swear I saw you posting something in Spanish this week.

---

<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:** [February 27, 2021, 5:34pm UTC](https://forums.unrealengine.com/t/topic/479518/4 "2021-02-27T17:34:29Z")

</div>

International man of mystery…

---

<div class="post-metadata">

**Author:** ![ground\_well](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ground\_well](https://forums.unrealengine.com/u/ground_well)\
**Post date:** [February 27, 2021, 6:29pm UTC](https://forums.unrealengine.com/t/topic/479518/5 "2021-02-27T18:29:59Z")

</div>

ありがとうございます！  
ウィジェットが消えるようになりました。  
これで作業がまた進みます！
