slider.gd 147 B

1234567891011
  1. extends HSlider
  2. @export var snap_step = 1.0
  3. func _process(_delta):
  4. if Input.is_key_pressed(KEY_SHIFT):
  5. step = 0.1
  6. else:
  7. step = snap_step