Mouse Button Left or Mouse Left Button?

The video mentions using:
IsMouseButtonDown(MOUSE_BUTTON_LEFT)

But there’s also:
IsMouseButtonDown(MOUSE_LEFT_BUTTON)

Is there a difference between these? My guess is, they are the same.

Hi Hegyak,

Judging by the mouse-over tooltip, MOUSE_LEFT_BUTTON is a deprecated name but is left for backwards compatibility. So they both do the same thing.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms