onready var tween = $Tween
Blick Effect
tween.interpolate_property($Sprite, "modulate:a", 1, 0, 0.3)tween.start()yield(tween, "tween_completed")tween.interpolate_property($Sprite, "modulate:a", 0, 1, 0.1)tween.start()
Knockback Effect
tween.interpolate_property($Sprite, "offset:x", 0, 10, 0.3)tween.start()yield(tween, "tween_completed")tween.interpolate_property($Sprite, "offset:x", 10, 0, 0.1)tween.start()
null