How do I use PostEditChangeProperty?

Only to complete the great answer by @kishoreven, you can wrap the whole method inside WITH_EDITOR preprocessor definition:

#if WITH_EDITOR
void ASomeActor::PostEditChangeProperty(struct FPropertyChangedEvent& e)
{
    // ...
}
#endif
4 Likes