Scratch for Java

Sprite::getTouchingSprites()

Returns a list of sprites of the specified type that are currently touching this sprite.

Syntax

Java

.getTouchingSprites(c)

Parameters

Name Data Type Description
c Class<T> the class of the type of sprites to return

Return

List<T>

getTouchingSprites()