I too think that there are some parts missing. (Unless it's only a part of a program)
First of all, you'll need a loop.
And, as I understand, you want to use 2 sprites. 1 for the mouse, and one for the button.
To create a mouse sprite, just make a small dot, and place it at the mouse position:
sprite 100, mousex(), mousey(), MouseImage
(This comes in the loop!)
in that same loop, you have to use the code you already had.
if sprite collision(Button, 100) > 0
and mouseclick() > 0
then ButtonPressed = 1
That's all I think...
It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.