Input::IsMouseButtonPressedSyntaxbool Input::IsMouseButtonPressed(MouseButton button);Returns true if the given mouse button was pressed down during this frame. During subsequent frames when the mouse button is being held down, this function will return false, i.e. this is an 'edge-triggered' function, and not a 'level-triggered' function.
Leave a Comment |