Mouse Click

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Wmbest2

Mouse Click

Post by Wmbest2 »

How do I get the input from a mouse click
joy
Posts: 124
Joined: Tue Apr 27, 2004 9:15 am
Location: Germany

Post by joy »

You get this with the OnEvent function. Read a little bit about it, it is not difficult.

(event.EventType == irr::EET_MOUSE_INPUT_EVENT)
Guest

Post by Guest »

Saying it's easy isn't very helpful. I've looked at the documentation about it and I still can't get it to work. Does anyone know how to check if a mouse button is clicked?
Post Reply