Thanks! The flash is done by passing the value "modulate" to "Color (50,50,50)" in the "hit_fx" function of the player (with a tween node)