Description

Add a layer scroll as the main element

Usage

Parameters

  • params {Object} optional

    Parameters :

    • element {CanvasEngine.Element}
    • speed {Integer} Scrolling speed
    • block {Boolean} (optional) Block scrolling on the edges of the map
    • width {Integer} Width of element
    • height {Integer} Height of element

Returns

Object

Discussion