Input Action now maps keys to movement and events in Preview. Understand how to speed up testing without confusing simulation with real use.

Direct answer

Lens Studio 5.18 added keyboard support to the Input Action component and the Bitmoji Player package for testing in Preview. The documentation shows movements with W, A, S and D and actions with the space bar, useful when multiple taps are difficult to reproduce in the editor. The feature improves iteration and regression, but keyboard does not represent camera, gesture, body movement, latency or device ergonomics. Validation must combine deterministic simulated cases with phone, Camera Kit or Spectacles sessions.

Deterministic input speeds up regression

Sticky keys help you repeat paths and compare states after logic or scene changes.

Action uncouples device

Mapping high-level intent allows you to change keyboard, touch or control without rewriting the entire experience response.

Preview has physical limits

Lighting, framing, occlusion, movement and attention only fully appear in the context of use.

Precise criteria coverage

List trajectories, states, errors and expected results; a repeatable test without assertion just repeats moves.

Nexus Reading

Use the keyboard in the quick cycle, record scenarios and reserve gates on the device for tracking, comfort, accessibility and performance.

FAQ

Since which version does Input Action accept a keyboard?

Snap reports Lens Studio 5.18 or later.

What actions can be simulated?

Documentation shows movement, rotation, events, and responses such as moving objects or calling components.

Does Preview replace testing on Spectacles?

No. It speeds up logic, but hardware and real context are still needed.

Essential guides to delve deeper into the decision

Primary sources and references

This editorial analysis was produced by Nexus from the official sources below, consulted on October 3, 2026. The text is original and interprets practical implications for companies.

Date reported by main source: Lens Studio 5.18, documentation consulted on October 3, 2026.