# 0.13.4

<!--{ "parent": "CHANGELOG", "order": 9986996 }-->

Clip editing in the character builder (trim a clip, find its best loop, keep the loop or a pose as a clip of your own), the emulated headset for your own tests (`tosijs-3d/xr-emulate`), and a way for a page with its own pointer handling to tell a press the UI took.

Size: barrel (min, packages external) 1890.9 KB raw / 659.3 KB gz, up 8.9 KB / 3.3 KB gz (+0.5%) on 0.13.3: clip editing and the press reports.

### Added

- a page with its own pointer handling can tell a press the UI took. `b3d.ringTookPress` (read it at the release: a press that opened a radial ring or landed on one), `b3d.uiHolds(hand)` (a headset's trigger pressed on a panel or a ring, or whose hold opened one, until let go) and `b3d.radialOpen`.
- `tosijs-3d/xr-emulate`, the emulated headset for your own tests: `xrEmulatorScript()` is iwer plus the helpers (`__xrTest.enter`, `hold`, `aim`, `trigger`, `press`) for Playwright's `addInitScript`; `XR_EMULATOR_CHROME_ARGS` are Chrome's flags. `iwer` is a new optional peer (`^2.5.0`): add it to your devDependencies to use it. A project that already has an older iwer installed must update it, or npm stops the install with ERESOLVE.
- clip editing (`clip-edit`, in the character core): `trimClip`, `clipFrame` (a pose, as a clip that holds it), `bestLoop` (a trim's ends moved to where the poses match, each joint turning the same way) and `loopBlend` (the tail cross-faded into the head, travel kept). `playback3d` takes `handleTrim` for trim handles on its scrub bar (`from`, `to` in what `read()` returns). The character builder loops the trimmed range (whole clip drops the trim) and keeps the result, or the pose shown, as a clip of your own; the clip it came from is left as it was. `readGlbClips` is in the barrel too.

### Changed

- the licence is stated: code is Apache-2.0, and documentation, images, models and other content (the docs' code samples included) are CC0, in `LICENSE-CONTENT`, which the package now ships. The README has a Licence section.

### Fixed

- a speech balloon gliding to a place under the system bar no longer rises over the bar's line on the way; it comes down beside the bar first (`glideBalloon` in `balloon-layout`).
