textmode.synth.js / SynthSource / scroll
Method: scroll()
ts
scroll(
scrollX?,
scrollY?,
speedX?,
speedY?): this;Scroll coordinates in both X and Y directions.
Parameters
| Parameter | Type | Description |
|---|---|---|
scrollX? | SynthParameterValue | X scroll amount (default: 0.5) |
scrollY? | SynthParameterValue | Y scroll amount (default: 0.5) |
speedX? | SynthParameterValue | X scroll speed (default: 0.0) |
speedY? | SynthParameterValue | Y scroll speed (default: 0.0) |
Returns
this