How can i find out, if a Input is for a fenggui element?

Well imagine you have a game with a  third persion camera, you turn it by holding down a mouse button and move it, you move with wasd. Now there is a Menu, wich can be dragged, and wich has a textfield. How can I now find out, if a Movement of the mouse or a keypress is for the Fenggui stuff (aka mouse is over, or textfield has cursor in it)??



Any help would be really nice.

in your update method, you can evaluate if your fengui input handler had processed the event first. if not, you can update your jme input handler. I have a similar setup: some fenggui draggable windows and a jme camera controler, and it works fine with that solution.  :smiley:

thanks, i will try this