109110111112113114115116117118119
// Spawn a thread to start the animation, which then spawns a thread // to stop the animation after a small sleep. new Thread() { @Override public void run() { avatar.triggerActionStart(trigger); new Thread(r).start(); } }.start(); }