This is how I'm creating my player. Is there any way to start fading in and fading out for an amount of time when I get hit?

private Texture tex = Game.res.getTexture("player");

public Player(Body body) {
TextureRegion[] sprites = new TextureRegion[1];
sprites[0] = new TextureRegion(tex, 0, 0, 70, 96);
sprites[1] = new TextureRegion(tex, 69, 193, 68, 93);
animation.setFrames(sprites, 1 / 6f);
}


 myPlayer.addAction(Actions.sequence(Actions.fadeOut(0.15f), Actions.fadeIn(0.15f));

Why not set the alpha value of the sprites directly via sprite.setAlpha(float)? Of course you would have to call that by your rendering method and calculate the amount of alpha alteration using deltaTime.