yeah, there's a little more to it.
try:
try:
Graphics 800,600,32,0 Global myCursor:Timage = LoadImage("mycursorimage.png") hidemouse() while not KeyDown(KEY_ESCAPE) cls 'clear the current drawing buffer DrawImage(myCursor, MouseX(), MouseY()) 'draw the image flip 'show the result on screen flushmem wend end