gskinner/TweenJS — Issue #6: API to check for active tweens
Author: akonsu
Created: 2012-02-28 20:30:01+00:00
State: open

Please add an API that would allow a client script to check whether there are any active Tween objects. I had to use an undocumented `Tween._tweens` property in my code to work around this limitation:
```
function tick(delta)
{
if (Tween._tweens && Tween._tweens.length > 0)
{
Tween.tick(delta);
_update = true;
}
if (_update)
{
_stage.update();
_update = false;
}
}
```