Well it's working, sort of. I get the image I want as a sprite, granted it's smaller but I can work with that. The calls for setting the sprite size and position do not work. It just stays exactly where it is no matter what I try. I only see the sprite in the corner at 0, 0. Also, some of the original sprites that are in the GetImage() area disappear for some reason.
The function below will only be called occasionally (not every frame like you say). I just want to take a snapshot of the screen so I can animate flipping the current card.
Thank you for your help so far
function flipcard()
cardfront as integer
Render()
cardfront = GetImage(getspriteX(cardArr[currentCard].back), getspriteY(cardArr[currentCard].back), GetSpriteWidth(cardArr[currentCard].back), GetSpriteHeight(cardArr[currentCard].back))
cardfont = CreateSprite(cardfront)
SetSpriteSize(cardfront, GetSpriteWidth(cardArr[currentCard].back), -1) //set size to match the original size
SetSpritePosition(cardfront, GetVirtualWidth()/2-GetSpriteWidth(cardfront)/2, GetVirtualHeight()/2-GetSpriteHeight(cardfront)/2) //center screen
endfunction