hope this help
`--------------------------------------------
`---------use the arrow key to move
`--------------------------------------------
sync on
ink rgb(255,0,0),0
box 0,0,32,32
get image 1,0,0,32,32
cls
ink rgb(0,255,0),0
circle 10,10,8
get image 2,0,0,20,20
sprite 2,120,120,2
do
oldx=posx:oldy=posy
if leftkey()=1 then posx=posx-2
if rightkey()=1 then posx=posx+2
if upkey()=1 then posy=posy-2
if downkey()=1 then posy=posy+2
sprite 1,posx,posy,1
col=sprite collision(2,1)
if col>0 then posx=oldx:posy=oldy :set cursor 120,10: print "hit circle "
sync
loop
You can do it if you try