Skip to content

sprites · reference

sprite.setCollider·

Sets the shape that counts for touching: "rectangle" or "circle".

use
sprite.setCollider(type, xOffset?, yOffset?, width?, height?, rotation?)
type
the block starts with "rectangle"
kind
a statement: a line of its own
drawer
Sprites, in the code room's blocks

player two knows this block

Ask it how sprite.setCollider works in your game.