Button mouse over detection, how?

BlitzPlus Forums/BlitzPlus Programming/Button mouse over detection, how?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Andres, Nice! That'd be a time saver!

CS_TBL, I don't think the command above would work with draw Oval shapes,

What would be the simplest way to have that circle change color on mouse over.
Graphics 800,600,16,2
SetBuffer BackBuffer()

Global check_mouse$="off"
Global circle_x=50, circle_y=50, circle_width=50, circle_height=50 

; Create the timer to track speed 
frameTimer=CreateTimer(60)
While Not KeyHit(1)
WaitTimer(frameTimer)
Cls



If(check_mouse$="on") Then
	Oval circle_x,circle_y,circle_width,circle_height,1
	Color 0,255,0
EndIf

If(check_mouse$="off") Then
	Oval circle_x,circle_y,circle_width,circle_height,1
	Color 255,255,0
EndIf

Flip
Wend:End