Screen:clear

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2017.8
Class: Screen

Description

Sets the screen background to the provided color and opacity. <syntaxhighlight lang="lua"> Screen:clear(color,alpha) </source>

Parameters

color: (number) background color
alpha: (number) background transparency