# How UE4 displays built-in structs in details panel

**URL:** <https://forums.unrealengine.com/t/how-ue4-displays-built-in-structs-in-details-panel/476112>\
**Category:** Platform & Builds\
**Tags:** details-panel, property-customizati, unreal-engine, question\
**Created:** [December 18, 2020, 6:29pm UTC](https://forums.unrealengine.com/t/how-ue4-displays-built-in-structs-in-details-panel/476112 "2020-12-18T18:29:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n4nn31355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n4nn31355](https://forums.unrealengine.com/u/n4nn31355)\
**Post date:** [December 18, 2020, 6:29pm UTC](https://forums.unrealengine.com/t/how-ue4-displays-built-in-structs-in-details-panel/476112/1 "2020-12-18T18:29:08Z")

</div>

I found that builtin structs like `FIntPoint`, `FIntVector` and other don’t use `USTRUCT` and `UPROPERTY` macros, but we can use these structs as properties in other objects and view/edit their values in the detail view.

Is there a way to do this with custom structs?

I tried to copy implementation of `FIntPoint`, but it didn’t work, I get an error that my struct should to be defined with `USTRUCT`/`UCLASS` macros.

I know I can use `UPROPERTY` macros in my structs or implement custom property view, but it looks for me that there might be another way for simple structs like `{int32 Min; int32 Max}`.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 20, 2020, 4:40pm UTC](https://forums.unrealengine.com/t/how-ue4-displays-built-in-structs-in-details-panel/476112/2 "2020-12-20T16:40:15Z")

</div>

Hello! Unreal Editor provides a common method to register Details Customization for custom classes and structs. As for **FIntPoint** , it has **FVectorStructCustomization** registered when starting **FDetailCustomizationsModule**. Common approach is here [Details Panel Customization | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/ProgrammingAndScripting/Slate/DetailsCustomization/index.html)

---

<div class="post-metadata">

**Author:** ![n4nn31355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n4nn31355](https://forums.unrealengine.com/u/n4nn31355)\
**Post date:** [December 27, 2020, 1:45pm UTC](https://forums.unrealengine.com/t/how-ue4-displays-built-in-structs-in-details-panel/476112/3 "2020-12-27T13:45:23Z")

</div>

Yep, thank you! And there is already customization for structs that works for me:

```
PropertyModule.RegisterCustomPropertyTypeLayout(
    "IntMinMax",
    FOnGetPropertyTypeCustomizationInstance::CreateStatic(
      &FMathStructCustomization::MakeInstance));
```
