Application:enableDrawInfo

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

Available since: Gideros 2022.3
Class: Application

Description

Shows or hides Gideros info layer in the given color. <syntaxhighlight lang="lua"> application:enableDrawInfo(color) </source>

Parameters

color: (vector) the color to use when drawing info, or nil to disable

Example

<syntaxhighlight lang="lua"> application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info </source>