Tween::isTweening()
Description
Returns true if the tween is currently playing.
Example
import megamu.shapetween.*;

Tween ani;
void setup(){
  ani = new Tween(this, 2);
}

void draw(){
  background(255);
  
  if( ani.isTweening() )
  	fill(0,200,255);
  else
  	fill(255);
  	
  ellipse(ani.time()*width, ani.position()*height, 4, 4);
}

void mousePressed(){
  if( ani.isTweening() )
    ani.pause();
  else
    ani.resume();
}
Syntax
isTweening()
Related
pause()
resume()