The 2D layer · function

clampScroll

Explained in Sprites and tilemaps.

function clampScroll(node: UiNode): void
import { clampScroll } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
nodeUiNode