# Show/Hide variables on Editor

**URL:** <https://forums.unrealengine.com/t/show-hide-variables-on-editor/450054>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 3, 2019, 4:54pm UTC](https://forums.unrealengine.com/t/show-hide-variables-on-editor/450054 "2019-06-03T16:54:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristin4475](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kristin4475](https://forums.unrealengine.com/u/kristin4475)\
**Post date:** [June 3, 2019, 4:54pm UTC](https://forums.unrealengine.com/t/show-hide-variables-on-editor/450054/1 "2019-06-03T16:54:26Z")

</div>

I have a master class called Door, and this door has 3 variables, aimationDuration, Start Delay and an Enum with 2 options - ClosingDoor and OpeningDoor. Now, I would like to know if its possible when I choose ClosingDoor the editor will display only the animationDuration variable and hide the StartDelay variable, [krogerfeedback](https://www.krogerfeedback.vip/) and then choose the openingDoor and hide the animationDuration and show the StartDelay. Is this possible or is there another way to accomplish this?

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [June 3, 2019, 5:06pm UTC](https://forums.unrealengine.com/t/show-hide-variables-on-editor/450054/2 "2019-06-03T17:06:55Z")

</div>

What exactly are you trying to do? Just make the editor details panel visually look different based off which enum you select?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 6, 2019, 3:27pm UTC](https://forums.unrealengine.com/t/show-hide-variables-on-editor/450054/3 "2019-06-06T15:27:00Z")

</div>

I don’t think that even possible in C++ defently not possible in Blueprint, there meta specifier there for UPROPERTY called “EditCondition” but it only accepts bool varable as a condition, you can try making hacks with making bool condition not visible in property editor at all and check actual condition on construction script and set bool variable accordingly.

All visibility options should be in variable properties when you click them in blueprint, thats all options you have in blueprint, C++ gives more specifiers and meta specifiers, including specific one to specific type of variable (probably document link below don’t even list them all as meny meta specifiers are not documented):

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
