I think want you want is SPOFS OUT. In SmileBASIC, it's possible to add OUT to a lot of commands to allow you to fill variables. The command you want is probably: SPOFS OUT 0, X, Y This will fill X with the sprite's current X location, and Y with its Y location. Hope this helps!