Download

[Construction Script] Is it possible to grey out public variables until a condition is met?

Is it possible to grey out public variables until a condition is met in Construction Script?

An example would be a blueprint for a door with a bool variable “TwoDoors”. If it is true one should be able to select the other door in the level (variable of the door-blueprint type).
If false, the selection should be greyed out or not visible.

It does not seem to be possible through blueprints. Here is a topic I’ve found for C++ Greying out blueprint exposed defaults? - C++ Gameplay Programming - Unreal Engine Forums

I also found this one: UPROPERTY EditCondition and CanEditChange · ben🌱ui but still in C++.

Thank you for the hint - will give it a try :slight_smile: