background_add_background(fname)
From ENIGMA
Description
Adds a new background asset from a file, loading it immediately, and returning the new index value.
Parameters
| Parameter | Description |
|---|---|
| fname | string value representing the file path to the image |
Return Values
||int || Returns the index of the new background created with part of the screen.
Example Call
// Example of using the function.