Scratch for Java

Hitbox::intersects()

Checks if the hitbox intersects with another hitbox.

Syntax

Java

.intersects(hitbox)

Parameters

Name Data Type Description
hitbox Hitbox The hitbox to check for intersection.

Return

boolean

intersects()

Create Shareable URL

Select Sections