Skip to content

textmode.synth.js / SynthSource / scrollY

Method: scrollY()

ts
scrollY(scrollY?, speed?): this;

Scroll coordinates in Y direction.

Parameters

ParameterTypeDescription
scrollY?SynthParameterValueY scroll amount (default: 0.5)
speed?SynthParameterValueScroll speed (default: 0.0)

Returns

this

Example