Scratch for Java

Sprite::isTouchingEdge()

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

Examples

View on GitHub

Syntax

Java

.isTouchingEdge()

Scratch

<touching [edge v]?>

Return

boolean

isTouchingEdge()

Create Shareable URL

Select Sections