From Test-Scratch-Wiki

Archive.png This article or section documents a feature not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
The X/Y grid backdrop being scrolled.

Scrolling the Stage was a planned new feature of Scratch 2.0. It allowed for the Stage to be panned around, repeating the current scene, without creating a sprite for it. However, it was removed in the alpha version for unknown reasons.[1]

Related Blocks

There were 5 blocks related to this feature. None of them work in the current version, even when restored from a project containing them.

Example Uses

This feature can be used in these ways:

  • Creating a repetitive, movable background
  • Simply moving the background
  • Making the moving background bounce
Note Note: Due to the blocks "x scroll" and "y scroll" being outdated, they appear to be a variable in the Scratchblocks generator below.
when gf clicked
forever
repeat until <(x scroll) > [478]>
scroll right (1) // category=motion
end
repeat until <(x scroll) < [1] >
scroll right (-1) // category=motion
end
end
when gf clicked
forever
repeat until <(y scroll) > [358]>
scroll up (1) // category=motion
end
repeat until <(y scroll) < [1] >
scroll up (-1) // category=motion
end
end

This cannot replace a scrolling map.

Suggestions about scrolling

Multiple users have suggested blocks that would be used to scroll the stage in the suggestions forum. There have also been suggestions to have size blocks for the stage, allowing the background to be scaled up or down, similar to the size blocks for sprites.

See Also

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.