This didn't work so I rewrote it. I don't know what Chroma was trying to do so I took a guess, it's a + that trails the mouse around. Uses code from here.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1933' Test
'Rem
Graphics 640,480,0
Local mouse:TMouse = New TMouse
While Not (KeyHit(KEY_ESCAPE) + AppTerminate())
Cls
DrawText "+", mouse.Trailx, mouse.Traily ' draw mouse trail
DrawText "Xspeed: " + mouse.XSpeed(), 10, 10
DrawText "Yspeed: " + mouse.YSpeed(), 10, 25
DrawText "Trailx: " + mouse.Trailx, 10, 40
DrawText "Traily: " + mouse.Traily, 10, 55
mouse.Update()
Flip
Wend
'EndRem
' Mouse Trail.bmx
' A modified version of TMouse type by GfK
Type TMouse
Field lastx:Int
Field lasty:Int
Field Trailx:Int
Field Traily:Int
Method New() ' init trail
Trailx = GraphicsWidth() / 2 ' center of screen
Traily = GraphicsHeight() / 2
MoveMouse(Trailx, Traily) ' center the mouse
Trailx :+ 4 ' reposition below mouse pointer
Traily :+ 22
lastx = MouseX() ' get new mouse position
lasty = MouseY()
End Method
Method XSpeed:Int() ' was MouseXSpeed()
Return MouseX() - lastx
End Method
Method YSpeed:Int() ' was MouseYSpeed()
Return MouseY() - lasty
End Method
Method Update()
Trailx :+ MouseX() - lastx
Traily :+ MouseY() - lasty
lastx = MouseX()
lasty = MouseY()
End Method
End Type