@MrSirr Do you want to make sprites appear after a random amount of time, or appear at a random point on the screen, or both? Anything random will require the RND function, which takes a single argument. This argument tells RND to generate a random number between 0 and the argument-1. This means that the set of numbers it generates will not include the number you passed in. For instance:

RND(1) will generate just a 0 (1 number)

RND(2) will generate a 0 or 1 (2 numbers)

RND(10) will generate 0 through 9 (10 numbers)

etc...

You can store this number as the position of the sprite (X or Y, generate a different number for both though), or you can use it as the limit to a counter which counts down to the point where a sprite will appear.

Edited on by randomous

**randomous**