Not done yet! Next you'll need to use SPHITSP(Cursor CN, F, L) within your loop, to where F and L are the first and last control numbers of the sprites you are using as buttons. HITC=SPHITSP(control numbers from before) will assign the control number of whatever sprite the cursor hits to HITC.