DImageButton MouseOver Checking?

I’m working on an image button for when you mouse over it, it’ll change pictures but I
don’t know how to get it so I can check if the client has moused over the image or not.

Here’s what I have:

[lua]if ( --[[MousedOver = true Goes Here]]-- ) then
self.proceedButton:SetImage(“gui/buttons/MouseOn”);
else
self.proceedButton:SetImage(“gui/buttons/MouseOff”);
end;[/lua]

If anyone were to know how to make/do a check for this then I will be most grateful.

DImageButton inherits OnCursorEntered and OnCursorExited from DLabel:

[lua]

self.proceedButton.OnCursorEntered = function()
– do something
end

self.proceedButton.OnCursorExited = function()
– do something different
end
[/lua]

Thank you! This worked perfectly!