Then you need to show some example code as that is wrong.
Graphics 800 , 600 Local image1:timage = LoadImage("max.png") SetClsColor 0,0,255 While Not KeyHit(KEY_ESCAPE) Cls SetColor 255 , 255 , 255 SetAlpha 1.0 SetBlend maskblend DrawImage image1 , MouseX() , MouseY() setcolor 255,0,0 SetBlend alphablend SetAlpha 0.6 DrawRect 100 , 100 , 100 , 100 Flip Wend