pxt-calliope/docs/reference/game/touching.md
2016-06-02 09:13:02 -07:00

13 lines
277 B
Markdown

# Touching
Reports true if sprite is touching specified sprite
```
export function isTouching(_this: micro_bitSprites.LedSprite, other: micro_bitSprites.LedSprite) : boolean
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)