public bool isMoving() { if ((state==TUIO_ACCELERATING) || (state==TUIO_DECELERATING)) return true; else return false; }