Skip to content

Reference ​

Every class, enum and function willow gives your scripts, grouped by area. Generated from willow's own type declarations, so it matches what thicket check sees.

PageWhat is on itClasses
NodeThe base of every display object: transform, children, lifecycle hooks, input handlers and events.Node, Event, Align, PauseMode
SceneThe app's scene: its world root, screen root, camera, layers, keys and transitions. Module willow-scene, read without an import.Scene, KeyEvent
Sprite and SpriteBatchTextured display objects.Sprite, SpriteBatch
Texture and TextureRegionImages on the GPU and rectangles inside them.Texture, TextureRegion
AtlasNamed regions packed onto texture pages.Atlas, PackerConfig, AtlasEntry
AnimationPlayerFrame-by-frame sprite animation.AnimationSequence, AnimationPlayer
TextThe text display object and its effects and input events.Text, TextEffects, TextFieldType, TextInputEvent, TextCompositionEvent
FontFonts: bundles, TTF baking, pixel fonts and measuring.Font, FontTtfConfig, FontBakeOptions, FontMeasureStyle, FontMeasureResult
QuadSolid-colour rectangles and lines.Quad
Polygon and MeshFilled shapes and raw triangle meshes.Polygon, Mesh
Custom paintDraw your own triangles for a node.Painter, TrianglesPaint
Pointer inputEvent payloads and pointer controls used by the node input handlers.PointerEvent, DragEvent, WheelEvent, PinchContext, KeyModifiers, Pointer
NodeIndexFind nodes by name or tag.NodeIndex
Camera2DThe 2D camera.Camera2D, CameraFollow
TileLayerBatched, culled tile grids.TileLayer, TilemapViewport, TileQuery, GidInfo
TweenGroupAnimate node fields and plain numbers over time.TweenGroup, TweenConfig
TransitionEffects played between two nodes by Scene.playTransition.Transition, TransitionCanvas
ParticleEmitterPooled 2D particles.ParticleEmitter, EmitterConfig, Range
LightLayer2D lights over ambient darkness.LightLayer, Light
FiltersVisual effects applied to a node's rendered output.Filter, DrawFilter, BlurFilter, ColorMatrixFilter, OutlineFilter, PixelPerfectOutlineFilter, PixelPerfectInlineFilter, PaletteFilter, CustomShaderFilter, CustomDrawShaderFilter
RenderTextureOffscreen canvases and subtree capture.RenderTexture, RenderTextureDrawOpts, ToTexture, FXAAConfig
Rope and DistortionGridRibbons along a path, and deformable grid meshes.Rope, RopeConfig, RopeJoinMode, RopeCurveMode, DistortionGrid
PhysicsRigid bodies attached to nodes.PhysicsConfig, PhysicsBody, PhysicsBodyDef, PhysicsDynamic, PhysicsStatic, PhysicsKinematic, PhysicsShape, PhysicsCircle, PhysicsBox, PhysicsSegment, PhysicsPolygon, PhysicsBodyKind, PhysicsShapeKind
CacheTreeModeConstants for Node.setCacheAsTree.CacheTreeMode