The most generic ones: - Using arrays (recommended). - SPOFS alone. Quick example: I check a certain range of sprites ID and check if one of those IDs is actually being used on a sprite. If there's a sprite with such ID, i extract his X and Y values (by using SPOFS), increase either X or Y, and relocating the sprite using the new coordinates.