ScrollMaterial()

Syntax

ScrollMaterial(#Material, x, y, Mode [, Layer])
Description
Scrolls the material layer according to x,y values. By default the layer 0 is scrolled except if the optional 'Layer' parameter is used. 'Mode' can take one of the following value:
  #PB_Material_Fixed   : The material is scrolled of the specified x,y offset, without regards of the previous scroll command.
  #PB_Material_Animated: Each frame is the material is scrolled of the specified x,y offset automatically.

Supported OS

Windows, Linux

<- RotateMaterial() - Material Index