25 lines
458 B
Markdown
25 lines
458 B
Markdown
|
# 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
|
||
|
|
||
|
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
|
||
|
|