does it possible to set duration for animation? someting like: `this.hero.setDurationByName("attack", 0.5);`