Returns the image of the specified name or path.
Returns the image of the specified name or path.
1 string path
the name (or path to) the texture. Note that if you loaded an image with cache.newSoundNamed, then you must provide the name of the texture, since the path is not taken into account.
1 Sound
the sound object. If the sound wasn't loaded, it will attempt to load it.