So I'm trying to make the Sprite (Ptato) follow a variable (Ptatox/Ptatoy) and I think the code is correct but for some reason the Sprite just appears at the top left corner...

My code:

//Sprites
var Ptato = createSprite("Ptatox", "Ptatoy");
Ptato.setAnimation("Idle");
Ptato.scale = 1.5;
//Variables
var Ptatox;
var Ptatoy;
Ptatox = 200;
Ptatoy = 200;
//Movement
background("white");
drawSprites();

So what's wrong?