fix sample
This commit is contained in:
		@@ -90,7 +90,8 @@ input.onButtonPressed(Button.B, () => {
 | 
			
		||||
 | 
			
		||||
## Step 4: Make obstacles move
 | 
			
		||||
 | 
			
		||||
Access each obstacle using a loop (_iterate_ over the `obstacles` array) and decrease the `obstacle` `X` coordinate by 1.
 | 
			
		||||
Access each obstacle using a ``||for element||`` loop (_iterate_ over the `obstacles` array) and decrease the `obstacle` `X` coordinate by 1. 
 | 
			
		||||
Right click on the ``||value||`` and rename it to ``||obstacle||``.
 | 
			
		||||
 | 
			
		||||
```blocks
 | 
			
		||||
let obstacles: game.LedSprite[] = []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user