No you should prevent the function StartTimer(e) to start again, so it should look more like this
--outside of the functions
local timerstarted
--inside the functions
if myPlayerLevel == 1 then
if timerstarted == 0 then
StartTimer(e)
timerstarted = 1
end
--SetSpriteSize ( privateSprite , 6 , 9 )
SetSpritePosition ( privateSprite , 50 , 50 )
if GetTimer(e) > 2000 then
SetSpritePosition ( privateSprite , 200 , 200 )
--DeleteSprite (privateSprite)
--DeleteImage (privateIcon)
end
end
My dream is to develope games, which makes fun when I create it and fun when other people play it.