# Get the mouse events (right and left)

**URL:** <https://psychtoolbox.discourse.group/t/get-the-mouse-events-right-and-left/1539>\
**Category:** Uncategorized\
**Created:** [October 2, 2001, 9:27am UTC](https://psychtoolbox.discourse.group/t/get-the-mouse-events-right-and-left/1539 "2001-10-02T09:27:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [October 2, 2001, 9:27am UTC](https://psychtoolbox.discourse.group/t/get-the-mouse-events-right-and-left/1539/1 "2001-10-02T09:27:29Z")

</div>

Hello,  
I need to get the right and the left clicks of the mouse. The function   
WindowButtonDownFcn of Matlab don't work in the same time of the Screen   
function of the Psychtoolbox. Does exist a MEX files or other (in the   
Psychtoolbox) to get the mouse events (right and left button) ?  
Thank you for your help.  
Gasp
