Snake/Scripts/UI/SliderLabel.gd

7 lines
104 B
GDScript3
Raw Permalink Normal View History

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