pxt-calliope/docs/reference/game/touching.md

13 lines
277 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# Touching
Reports true if sprite is touching specified sprite
```
export function isTouching(_this: micro_bitSprites.LedSprite, other: micro_bitSprites.LedSprite) : boolean
```
### Lessons
2016-04-13 17:27:45 +02:00
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)
2016-03-26 00:47:20 +01:00