LoginLogin

BGCLR

Root / Documentation / [.]

Created:
Clear a background layer. # Syntax ```sbsyntax BGCLR { layer } ``` | Input | Description |[#] |`layer`| BG layer to clear | Clears a background layer, filling the layer with tile data 0. If layer is not specified, both layers are cleared. `BGCLR` only clears the current screen. `layer` is rounded down. # Examples ```sb ' clear both background layers BGCLR ``` # Errors | Action | Error|[#] |Provide a string argument|Type Mismatch| |Layer is not zero or one|Out of range| # See Also - sbs:page/docs-ptc-background[Background overview] - \link[sbs:page/docs-ptc-bgfill]{`BGFILL`}

No posts yet (will you be the first?)