SetScrollPlane

Last Modified: 1/18/2021

Sets the active Plane for the Scroll and Scroll2 commands.

Arguments

NameTypeRequiredDescription
Plane System Identifier Yes Sets the layer to scroll for scrolling commands.

Scrollable Planes

Scroll TypeDescription
Scroll_A Sets the active layer to Plane A.
Scroll_B Sets the active layer to Plane B.

Example

Syntax: SetScrollPlane <Plane>
    DrawTile 1,0,0
    SetScrollPlane Scroll_B
    SetGfxPlane Scroll_B
    DrawTile 1,1,1
    Scroll Right,10,0

Remarks

By default, the scroll Plane is Scroll_A.

The Window Plane cannot be scrolled.

See Also

Scroll, Scroll2, SetGfxPlane, SetScrollMode