Scratch for Java

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

Sprite::setHitbox()

Sets the hitbox: the shape that counts for touching, in costume pixels (origin at the costume's top left corner, y down). It turns, grows and mirrors with the sprite.

Examples

View on GitHub

Syntax

Java

.setHitbox(shape)

Parameters

Name Data Type Description
shape Shape the hitbox

Return

void

setHitbox()

Teilbare URL erstellen

Abschnitte auswählen