scroll_log.gd 266 B

1234567891011121314
  1. extends ScrollContainer
  2. @export var auto_scroll: bool = false
  3. func _process(_delta):
  4. if auto_scroll:
  5. var scrollbar = get_v_scroll_bar()
  6. scrollbar.value = scrollbar.max_value
  7. func _on_check_box_scroll_toggled(button_pressed):
  8. auto_scroll = button_pressed