I'm pretty sure running spset every frame resets the position. Also, what does "xy" mean? It looks like a string containing letters, not a number.