Difference between revisions of "Screen:setContent"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Specifies which sprite should be displayed by the screen.
 
Specifies which sprite should be displayed by the screen.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Screen:setContent(content)
 
Screen:setContent(content)
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Specifies which sprite should be displayed by the screen. <syntaxhighlight lang="lua"> Screen:setContent(content) </source>

Parameters

content: (sprite) the sprite hierarchy to be displayed by the screen