Z
Zefyrinus
Guest
Hi! In my game (in GM 6.1) I have a clickable button which should look as if it's pressed down while you're clicking it. The button itseld is an object and it has two subimages and a variable frame that tells which subimage should be drawn. In the mouse press left event I do this: frame = 1; and in the mouse release left I do frame = 0;. In the draw event I use the D&D thingy to draw subimage frame.
In the game everything starts out right, but when I click the button it stays depressed, that is, it switches to frame 1, but never switches back to 0 when the mouse button is released. Is there maybe something about these mouse events that I have overlooked?
In the game everything starts out right, but when I click the button it stays depressed, that is, it switches to frame 1, but never switches back to 0 when the mouse button is released. Is there maybe something about these mouse events that I have overlooked?