10 lines
151 B
GDScript
10 lines
151 B
GDScript
extends Sprite2D
|
|
class_name Clue
|
|
|
|
func setVisible(isV: bool):
|
|
visible = isV
|
|
if isV:
|
|
$AnimationPlayer.play("move")
|
|
else:
|
|
$AnimationPlayer.stop()
|