Q34443GD has my samples folder. You want to look at SPFUNCDEMO which has a bunch of fruit bounce around the screen. Using SPFUNC you can set a callback function for a sprite. During your game loop call CALL SPRITE one per frame which will call all registered call back sprite functions. Lines 3-17 is a bounce function. When in a callback CALLIDX has your sprite's ID number.