2016-03-25 16:47:20 -07:00
|
|
|
# Touching
|
|
|
|
|
|
|
|
The game library
|
|
|
|
|
|
|
|
### Touching
|
|
|
|
|
|
|
|
Reports true if sprite is touching specified sprite
|
|
|
|
|
|
|
|
## Block Editor
|
|
|
|
|
|
|
|
![](/static/mb/game-library/touching-0.png)
|
|
|
|
|
|
|
|
## KindScript
|
|
|
|
|
|
|
|
Reports true if sprite is touching specified sprite
|
|
|
|
|
|
|
|
```
|
|
|
|
export function isTouching(_this: micro_bitSprites.LedSprite, other: micro_bitSprites.LedSprite) : boolean
|
|
|
|
```
|
|
|
|
|
|
|
|
### Lessons
|
|
|
|
|
2016-04-13 08:27:45 -07:00
|
|
|
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)
|
2016-03-25 16:47:20 -07:00
|
|
|
|