# Detect if a value has been changed

**URL:** https://forum.kirupa.com/t/detect-if-a-value-has-been-changed/173681
**Category:** Uncategorized
**Created:** [December 28, 2005, 4:53pm UTC](https://forum.kirupa.com/t/detect-if-a-value-has-been-changed/173681 "2005-12-28T16:53:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)
#### Post date: [December 28, 2005, 4:53pm UTC](https://forum.kirupa.com/t/detect-if-a-value-has-been-changed/173681/1 "2005-12-28T16:53:01Z")

</div>

how to know if a value has been changed **without using onEnterFrame**?

ex: I want to know if the value of “myValue” is still 1  
if it isn’t, then trace(“hello”)
