Files
Kalulu/sources/utils/fx/highlight.gd
T
2025-09-05 15:55:48 +02:00

18 lines
294 B
GDScript

@tool
class_name HighlightFX
extends Control
var is_playing: bool = false
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func play() -> void:
is_playing = true
animation_player.play("highlight")
func stop() -> void:
is_playing = false
animation_player.play("stop")