[JME3] MouseInput.get() equivalent

This is a pretty simple question but I am having difficulty replicating this functionality in JME3.

In JME2, I would call [java]MouseInput.get().isButtonDown(0)[/java]

But how can I do this in JME3? I need to see if the mouse is clicked down.


You need to map the left mouse to an action. Check out the “Hello Input” tutorial to see how.