batch replace onButtonPressed(Button...
This commit is contained in:
1 parent
1f7e0b0f79
commit
850c313c5d
68 files changed
+187
-187
No files matched your search
@@ -27,7 +27,7 @@ Now let's add to this by creating a condition for on button pressed `A` before t
|
||||
|
||||
```
|
||||
rotating = true
|
||||
input.onButtonPressed("A", () => {
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
}) // ***
|
||||
while (rotating) {
|
||||
basic.showAnimation(`
|
||||
@@ -48,7 +48,7 @@ Now that we have the on button pressed condition, let's make the animation stop
|
||||
|
||||
```
|
||||
rotating = true
|
||||
input.onButtonPressed("A", () => {
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
rotating = false // ***
|
||||
}) // ***
|
||||
while (rotating) {
|
||||
|
||||
Reference in new issue
Block a user