Layer¶
Changes the current layer to render from now on instead of the default layer which is 5 (UI
).
Syntax¶
|Layer,newlayer|
Parameters¶
newlayer
: int¶
The new layer to render from now on. This must be a valid int or an exception will be thrown.
Remarks¶
By default, all SetText calls renders to layer 5 (UI
), but this command allows to change the layer to use. It affects the rendering of the following:
- All letters in single letter rendering
- All dropshadow in single letter rendering
- All letters in regular letter rendering when not using tridimensional
- All ButtonSprites used in the Button command when not using tridimensional