Sprite::isTouchingSprite()
Returns true if the sprite is touched by the other sprite.
Examples
Syntax
Java
Scratch
touching [sprite v]?
Parameters
Name | Data Type | Description |
---|---|---|
sprite | Sprite | A reference to a sprite. |
Return
boolean
Returns true if the sprite is touched by the other sprite.
touching [sprite v]?
Name | Data Type | Description |
---|---|---|
sprite | Sprite | A reference to a sprite. |
boolean