Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Sprite::isColorTouchingColor()

Whether a colour of the sprite touches a colour on the stage, like Scratch's "color is touching color".

Examples

View on GitHub

Syntax

Java

.isColorTouchingColor(mine, color)

Scratch

<color [#ff0000] is touching [#00ff00]?>

Parameters

Name Data Type Description
mine Color a colour of the sprite
color Color the colour to look for underneath

Return

boolean

isColorTouchingColor()

Teilbare URL erstellen

Abschnitte auswählen