# Is there any to restrict EditDefaultsOnly UProperty of an EditInLineNew UObject class only show on blueprint class default panel but not to show on c++ uproperty with Instanced Specifier

**URL:** <https://forums.unrealengine.com/t/is-there-any-to-restrict-editdefaultsonly-uproperty-of-an-editinlinenew-uobject-class-only-show-on-blueprint-class-default-panel-but-not-to-show-on-c-uproperty-with-instanced-specifier/1206383>\
**Category:** Programming & Scripting\
**Tags:** instance, unreal-engine, question, Blueprint, CPP\
**Created:** [June 21, 2023, 3:24pm UTC](https://forums.unrealengine.com/t/is-there-any-to-restrict-editdefaultsonly-uproperty-of-an-editinlinenew-uobject-class-only-show-on-blueprint-class-default-panel-but-not-to-show-on-c-uproperty-with-instanced-specifier/1206383 "2023-06-21T15:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobia88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tobia88](https://forums.unrealengine.com/u/tobia88)\
**Post date:** [June 21, 2023, 3:24pm UTC](https://forums.unrealengine.com/t/is-there-any-to-restrict-editdefaultsonly-uproperty-of-an-editinlinenew-uobject-class-only-show-on-blueprint-class-default-panel-but-not-to-show-on-c-uproperty-with-instanced-specifier/1206383/1 "2023-06-21T15:24:29Z")

</div>

Let say i’ve an class that inherited from UObject with EditInlineNew Specifier

```auto
UCLASS( Abstract, Blueprintable, BlueprintType, EditInlineNew )
class S1_API US1InventoryItemType : public UObject
{
	GENERATED_BODY()

public:
	UPROPERTY( EditDefaultsOnly, BlueprintReadOnly )
	FText TypeDisplayName;
};

```

And it would be used as a property with Instanced specifier in different class

```auto
	UPROPERTY( EditDefaultsOnly, BlueprintReadOnly, Instanced, Category = "Default" )
	TObjectPtr<US1InventoryItemType> ItemType;

```

But now the property would be showed on both blueprint class default and the instanced property on certain class which doesn’t be intended, is there any way to hide the certain properties from instanced specified property?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/1/261d120c43fbfa9e0c4b432d48c365d23aada518.png)

---

<div class="post-metadata">

**Author:** ![Foxe-92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Foxe-92](https://forums.unrealengine.com/u/Foxe-92)\
**Post date:** [February 11, 2025, 4:34am UTC](https://forums.unrealengine.com/t/is-there-any-to-restrict-editdefaultsonly-uproperty-of-an-editinlinenew-uobject-class-only-show-on-blueprint-class-default-panel-but-not-to-show-on-c-uproperty-with-instanced-specifier/1206383/2 "2025-02-11T04:34:02Z")

</div>

Did you ever find a solution for this?
