mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-31 09:49:06 +03:00
10 lines
281 B
GDScript
10 lines
281 B
GDScript
extends Control
|
|
|
|
|
|
func _ready() -> void:
|
|
$LineEditName.grab_focus() # Accessible UI should always have keyboard focus, since it is a main way of interacting with UI.
|
|
|
|
|
|
func _on_button_set_pressed() -> void:
|
|
$Panel/LabelRegion.text = $LineEditLiveReg.text # Set live region text.
|