is anyone else having trouble with drawing green S

BlitzMax Forums/BlitzMax Programming/is anyone else having trouble with drawing green S

this is my coding:
mx=(mousex()+10)
if keyhit(key_s)
setcolor 0,255,0
movemouse mx,mousey()
endif
flip