printing colored s

BlitzMax Forums/BlitzMax Beginners Area/printing colored s

example code:

mx=(mousex()+10)
if keyhit(key_s)
setcolor 0,255,0
drawtext "S" mousex(),mousey()
movemouse mx,mousey()
endif

Note:The problem is not that mx isn't working, i did this with all letters of the alphabet and it worked with them