I suggest you read this entry of the e-manual: http://smilebasic.com/en/e-manual/manual35/ Basically, the first number is the sprite's ID. It will be unique for every different sprite and represents it. You use it with pretty much all sprite related instructions. You assign this ID when calling SPSET. It's the first number you specify.