Quote: "I tried it, it didn't work."
what exactly does that mean? what was the error(s)?
meanwhile, a couple things
1) making sure that you realize qugurun offered 3 different code examples:
img = LoadImage("Ranch.png")
Sprite1 = CreateSprite(img)
or
Sprite1 = CreateSprite(LoadImage("Ranch.png"))
or
Sprite1 = LoadSprite("Ranch.png")
... it won't run as is if you copied/pasted it all at once.
2) Sprite1 =
CreateSprite(GetImage("Ranch.png") as you offered can't work in any way (even if you properly added the last ")" where GetImage parameters have nothing to do with a filename.
2a) make sure the filename is precise regarding upper/lower case. IE, if your file is named "ranch.png", Windows will accept "Ranch.png" or "ranch.png" but (all?) mobile platforms should be more precise. IE, it it's "ranch.png", it won't recognize "Ranch.png" as valid.
i'll leave it at that until you offer a more-complete code example of what isn't working for you. what you've offered is obviously incomplete and there could be other things going on that could cause the CloneSprite error.
otherwise, here's a full working example of CloneSprite usage (where the code offered in the help file is horrible):
SetVirtualResolution( 800, 600 )
Sprite1 = CreateSprite(0)
SetSpriteSize(Sprite1,64,64)
Sprite2 = CloneSprite(Sprite1)
SetSpriteColor(Sprite2,255,0,0,255) `RED
SetSpritePosition(Sprite2,128,0)
do
Sync()
loop