# Only redraw when Tweak Mode modifies values?

**URL:** <https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263>\
**Category:** Processing\
**Created:** [October 1, 2020, 9:02am UTC](https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263 "2020-10-01T09:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stixan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stixan/32/21628_2.png) [@stixan](https://discourse.processing.org/u/stixan)\
**Post date:** [October 1, 2020, 9:02am UTC](https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263/1 "2020-10-01T09:02:16Z")

</div>

Just wondering: When using Tweak Mode to modify values, is there any way I can tell my sketch to only redraw when values change? Is there any kind of notification from Tweak Mode I can listen for?

---

<div class="post-metadata">

**Author:** ![stixan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stixan/32/21628_2.png) [@stixan](https://discourse.processing.org/u/stixan)\
**Post date:** [November 11, 2020, 3:54pm UTC](https://discourse.processing.org/t/only-redraw-when-tweak-mode-modifies-values/24263/2 "2020-11-11T15:54:19Z")

</div>

UPDATE: Spoke to Gal Sasson who authored the Tweak Mode. There is currently no way to access any pointer og flag to indicate whenever a user has changed a value using Tweak Mode. I have discovered that Tweak Mode is using OSC behind the scenes, but according to Gal it is not possible to do any sort of hack to “wiretap” the OSC communication. Apparently the trail I was persuing ends here.
