MouseUp Detection?

Hi! Can someone please point me in the right direction for setting up a MouseInputListener. I want to be able to detect mouse button up/down states.

I’ve looked at the javadoc and also searched around online and just can’t find a good reference.

Thank you!

@udoobu said: Hi! Can someone please point me in the right direction for setting up a MouseInputListener. I want to be able to detect mouse button up/down states.

I’ve looked at the javadoc and also searched around online and just can’t find a good reference.

Thank you!

JME has no MouseInputListener. Maybe you mean RawInputListener?

1 Like
@pspeed said: JME has no MouseInputListener. Maybe you mean RawInputListener?

Oh… well… maybe so. Are you familiar with what is used to detect mouse up or down states? Thx!

For example, if I want to click my mouse button to place a new object, I don’t want it to continually create new objects until I release the mouse.

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_input_system

2 Likes
@pspeed said: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_input_system

Thank you for making me look at that article again. The first time I missed the notes about “!keypressed”.

I appreciate it! :slight_smile:

1 Like