# Observe property changes on object

**URL:** <https://discourse.aurelia.io/t/observe-property-changes-on-object/1515>\
**Category:** Help Requests\
**Created:** [August 9, 2018, 9:18am UTC](https://discourse.aurelia.io/t/observe-property-changes-on-object/1515 "2018-08-09T09:18:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henkeson](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/henkeson/32/1644_2.png) [@henkeson](https://discourse.aurelia.io/u/henkeson)\
**Post date:** [August 9, 2018, 9:18am UTC](https://discourse.aurelia.io/t/observe-property-changes-on-object/1515/1 "2018-08-09T09:18:41Z")

</div>

I’m trying to observe property changes on childobjects in a class, but I’m not sure how to get it to work.

I.E  
In my class I want to observe the changes on the object path “person.hair.color”.  
Since both person and hair can be undefined (or null), I can not traverse down the object and use the BindingEngines propertyObserver.

I think it should be possible to make this work using the Binding systems “Parser” class to create a BindingExpression, but I can’t figure out how to put the pieces of the puzzle together.

---

<div class="post-metadata">

**Author:** ![henkeson](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/henkeson/32/1644_2.png) [@henkeson](https://discourse.aurelia.io/u/henkeson)\
**Post date:** [August 9, 2018, 11:12am UTC](https://discourse.aurelia.io/t/observe-property-changes-on-object/1515/2 "2018-08-09T11:12:50Z")

</div>

I just found the expressionObserver method on the BindingEnginge. That might work…

I will get back with the result.

UPDATED:  
Yes, it seems to be working!

Hope this can help someone else.
