Rebinding
Palette commands
Section titled “Palette commands”The palette ships bind and unbind commands:
> bind jump Spacebound jump -> Space
> bind shoot mouse:0bound shoot -> mouse:0
> unbind jumpunbound jumpPersisting bindings
Section titled “Persisting bindings”import { engine_store } from "@f0rbit/forge/storage";
const store = engine_store();await store.bindings.save("default", input.bindings());const loaded = await store.bindings.load("default");if (loaded.ok) input.bind(loaded.value);engine_store.bindings is a Store<Bindings> — same interface as snapshots (see the Storage section).