Skip to content

textmode.js / Textmodifier / movedY

Property: movedY

ts
readonly movedY: number;

Vertical mouse movement accumulated since the previous rendered frame.

This is especially useful while pointer lock is active, where absolute mouse coordinates stop being meaningful and relative movement becomes the primary input signal.

Example