Scratch for Java

Sprite::isTouchingEdge()

Returns true if the rectangle which contains the image is outside of the stage

Syntax

Java

.isTouchingEdge()

Return

boolean

isTouchingEdge()