# How to "receive" changes in an asset pointed by an actor uproperty?

**URL:** <https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [November 6, 2018, 3:30pm UTC](https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424 "2018-11-06T15:30:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roig](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roig](https://forums.unrealengine.com/u/Roig)\
**Post date:** [November 6, 2018, 3:30pm UTC](https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424/1 "2018-11-06T15:30:19Z")

</div>

Hello,

I have an actor that has an uproperty named Y that points to an asset X.

I need to receive in the actor a callback that fires when (in the editor) the asset X changes. I don’t want to know when the Y property changes the asset, only when the asset pointed by Y changes.

I searched the source code but… only found something like FPropertyEditorModule but don’t know exactly how to use it and if it’s what I’m searching.  
Thanks!

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [November 6, 2018, 3:41pm UTC](https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424/2 "2018-11-06T15:41:11Z")

</div>

An easy, fast and dirty way to do it is using “PostEditChangeProperty” function:

[https://answers.unrealengine.com/questions/topics/posteditchangeproperty.html](https://answers.unrealengine.com/questions/topics/posteditchangeproperty.html)

---

<div class="post-metadata">

**Author:** ![Roig](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roig](https://forums.unrealengine.com/u/Roig)\
**Post date:** [November 6, 2018, 4:21pm UTC](https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424/3 "2018-11-06T16:21:32Z")

</div>

> [@BrUnO\_XaVIeR](#):
>
> An easy, fast and dirty way to do it is using “PostEditChangeProperty” function:
> 
> [Topics tagged unreal-engine & question](https://answers.unrealengine.com/questions/topics/posteditchangeproperty.html)

Mmmm this doesn’t work because it only fires when the uproperty changes, I want to detect changes to the asset referenced by that uproperty not the uproperty itself.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [November 7, 2018, 1:15am UTC](https://forums.unrealengine.com/t/how-to-receive-changes-in-an-asset-pointed-by-an-actor-uproperty/118424/4 "2018-11-07T01:15:56Z")

</div>

Asset-\>GetOutermost()-\>IsDirty() is true if asset have changes to be saved.  
Also there’s a few Editor delegates that can help:

> **[FEditorDelegates](https://docs.unrealengine.com/4.27/en-US/API/Editor/UnrealEd/FEditorDelegates/)**
>
> \[FEditorDelegates\](API\\Editor\\UnrealEd\\FEditorDelegates) Delegates used by the editor.
