Mouse button release

Using LWJGL, and I’m having an issue with Mouse.isButtonDown(0).

I’m working on a menu system and if you click a menu button that opens a new menu, if there is anything on the new menu beneath the mouse cursor, it tends to get clicked as well.

I either need a way to detect a mouse button release, or a way to pause/end the actions of the mouse for a short time.

Help! :slight_smile:

You could just run a loop and assign a boolean - that would be the simplest way to do it.

Oh man I was seriously over thinking it. I’ve got it worked out now, Thanks for the help!