Snake/Scripts/UI/SliderLabel.gd

6 lines
104 B
GDScript

extends Label
@export var slider : Slider
func _process(delta):
self.text = str(round(slider.value))