Skip to content

List of Available Blocks

This document explains the function names, arguments, and behavior of exported helpers. Each function maps closely to a Scratch 3.0 block.

Example:

ts
import { add, gotoXY } from 'hikkaku/blocks'

Common Concepts

  • PrimitiveSource<T>: literal values, variable reporters, or value blocks
  • block(...): creates a statement block
  • valueBlock(...): creates a reporter block
  • substack(handler): captures nested block stacks for C-shaped blocks

Block Categories