# Dynamically Edit-ablity of UPROPERTYs

**URL:** <https://forums.unrealengine.com/t/dynamically-edit-ablity-of-upropertys/100265>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 22, 2017, 7:59pm UTC](https://forums.unrealengine.com/t/dynamically-edit-ablity-of-upropertys/100265 "2017-09-22T19:59:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bb5a8d2d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bb5a8d2d](https://forums.unrealengine.com/u/anonymous_user_bb5a8d2d)\
**Post date:** [September 22, 2017, 7:59pm UTC](https://forums.unrealengine.com/t/dynamically-edit-ablity-of-upropertys/100265/1 "2017-09-22T19:59:04Z")

</div>

I understand how to make a UPROPERTY in my c++ ActorComponent editable or read only in the editor (blueprint or otherwise) using arguments to the UPROPERTY macro / markup. I have a situation where I want to dynamically change whether a property is editable based on the settings a user has made to other properties.

So… How can I change whether a UPROPERTY is editable or not-editable at editor runtime?

Thanks,

---

<div class="post-metadata">

**Author:** ![Konflict](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/konflict/32/906588_2.png) [@Konflict](https://forums.unrealengine.com/u/Konflict)\
**Post date:** [September 22, 2017, 10:33pm UTC](https://forums.unrealengine.com/t/dynamically-edit-ablity-of-upropertys/100265/2 "2017-09-22T22:33:24Z")

</div>

That would be [EditCondition](https://wiki.unrealengine.com/UPROPERTY#EditCondition) you can set the name of the boolean property here. Afaik it doesnt support a great variety of evaluations here but a Not Boolean can be used for sure.

```auto

meta = (EditCondition = "!UseAsRadio")

```

Note the qoutes around the evaluation.
