View Full Version : highlightOn timer property does not reset when called again

06-11-2017, 08:07 PM
When using the timer element of highlightOn (obj.highlightOn({1,1,1}, 2)) it starts an absolute timer that will remove highlight after that time period ends. It ignores highlightOn being called a second time. So if I used my example code there, activated it once, waited 1 second then activated it again, it would deactivate after 1 second instead of 2 (using the original countdown, not overwriting it with a new one).

This is just a bit different behavior than I expected. Simple enough to code around on our end, but it did go against my expectation of its behavior