mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Updated tutorial_scripting (markdown)
parent
be38e08e65
commit
87d1cb5208
@ -105,6 +105,8 @@ get_node("Button")
|
||||
|
||||
```
|
||||
|
||||
**Note: get_node() works by returning the immediate children to the node controlled by the script, so Button _must_ be a child of**
|
||||
|
||||
So, next, a callback will be added for when a button is pressed, that will change the label's text:
|
||||
|
||||
```python
|
||||
|
Loading…
Reference in New Issue
Block a user