Click the <empty> Shortcut field, then select New Shortcut
The `Shortcut` resource takes an array of inputs as its data because in case you'd want to trigger the same button with multiple different inputs or input actions.
sadfs
![[Pasted image 20240713074212.png]]
![[Pasted image 20240713074345.png]]
Click on the created InputEventAction to expand it.
![[Pasted image 20240713080012.png]]
Set action to advance_text ( The action we created in the very first screenshot of this page)
# We first extract data for the current dialogue item and apply it to the UI
# elements.
# ...
next_button.disabled = true
tween.finished.connect(func() -> void:
next_button.disabled = false
)
```
Note to self: It seems to be possible to connect an event to more than 1 function. Here the full function from the tutorial. Note the tween.connect re-use
```python
func show_text() -> void:
# We first extract data for the current dialogue item and apply it to the UI
# elements.
var current_item := dialogue_items[current_item_index]