extends TextureRect func _on_timer_timeout(): if randf() < 0.1: texture.current_frame = 1 else: texture.current_frame = 0