# Custom UPROPERTY Specifiers

**URL:** <https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751>\
**Category:** C++\
**Tags:** UProperty, unreal-engine, ubt, UE4, question, CPP\
**Created:** [December 19, 2016, 11:46pm UTC](https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751 "2016-12-19T23:46:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimeh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grimeh](https://forums.unrealengine.com/u/Grimeh)\
**Post date:** [December 19, 2016, 11:46pm UTC](https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751/1 "2016-12-19T23:46:02Z")

</div>

Hi,

Is there any mechanism for adding custom UPROPERTY specifiers at the moment?

If not, does anyone know the place(s) to start looking in the UBT preprocessor that would be of most interest to do this?

Thanks

EDIT: I have already considered using Metadata specifiers, but they are only available if you’re building with the editor. I need to access the extra data at runtime. I know the .def file where the specifiers are defined, but I mostly want to know if anyone has considered/done this with their own specifiers.

---

<div class="post-metadata">

**Author:** ![andreschaaf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andreschaaf](https://forums.unrealengine.com/u/andreschaaf)\
**Post date:** [December 20, 2016, 7:19am UTC](https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751/2 "2016-12-20T07:19:43Z")

</div>

Hi,

you can’t set custom secifier. But you could use the meta data attribute.

> **[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 — ue4community.wiki! You will be able to find content from the official...

The meta data takes key value pairs. I used them in a project for controller autowiring UPROPERTY(meta=(“autowire”:“true”))

Kind regards

freakxnet

---

<div class="post-metadata">

**Author:** ![Grimeh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grimeh](https://forums.unrealengine.com/u/Grimeh)\
**Post date:** [December 21, 2016, 4:55pm UTC](https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751/3 "2016-12-21T16:55:09Z")

</div>

I looked at Metadata specifiers, but they only exist if you’re building with the editor (ie. if WITH\_EDITOR is defined). That’s why I’m asking about fully fledged specifiers, I need the extra data at runtime.

---

<div class="post-metadata">

**Author:** ![zhouy-v](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zhouy-v](https://forums.unrealengine.com/u/zhouy-v)\
**Post date:** [December 8, 2022, 3:07am UTC](https://forums.unrealengine.com/t/custom-uproperty-specifiers/379751/4 "2022-12-08T03:07:45Z")

</div>

I also want to ask this question, I need the extra data at runtime.
