# Re: \[psychtoolbox\] Setting Mouse position

**URL:** <https://psychtoolbox.discourse.group/t/re-psychtoolbox-setting-mouse-position/679>\
**Category:** Uncategorized\
**Created:** [April 13, 2001, 6:01pm UTC](https://psychtoolbox.discourse.group/t/re-psychtoolbox-setting-mouse-position/679 "2001-04-13T18:01:52Z")\
**Posts on this page:** 2\
**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:** [April 13, 2001, 6:01pm UTC](https://psychtoolbox.discourse.group/t/re-psychtoolbox-setting-mouse-position/679/1 "2001-04-13T18:01:52Z")

</div>

Yoav,  
  
SetMouse should set the mouse pointer position, but it isn't included in the  
Psychtoolbox for Windows yet.  
  
At the moment I'm working on GetChar problems, but when I get a chance I'll  
implement SetMouse and post it here for you in advance of the next release of  
the Psychtoolbox, which I expect to be in July.  
  
 Allen  
  
  
  
Yoav Arieh wrote:  
  

> \> Hi,  
> \>  
> \> Is it possible to SET the mouse coordinates to a pre determined place on  
> \> the screen with the SCREEN command using win98?  
> \>  
> \> Thank You.  
> \>  
> \> Yoav.  
> \>  
> \> To Post a message, send it to: [psychtoolbox@...](mailto:psychtoolbox@...)  
> \>  
> \> To Unsubscribe, send a blank message to: [psychtoolbox-unsubscribe@...](mailto:psychtoolbox-unsubscribe@...)  
> \>  
> \> psychtoolbox web site: [http://color.psych.ucsb.edu/psychtoolbox/](http://color.psych.ucsb.edu/psychtoolbox/)  
> \>  
> \> Your use of Yahoo! Groups is subject to [http://docs.yahoo.com/info/terms/](http://docs.yahoo.com/info/terms/)

---

<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:** [April 24, 2001, 9:41pm UTC](https://psychtoolbox.discourse.group/t/re-psychtoolbox-setting-mouse-position/679/2 "2001-04-24T21:41:18Z")

</div>

Yoav,  
  
I've written a Windows version of SetMouse. I have also updated the setmouse.m  
help file to explain differences between the Windows and Mac versions of  
SetMouse. Both files are in a zip compressed folder attached to this message.  
  
I've tested SetMouse only on Matlab 6 running under Windows 2000 with Service  
Pack 1, but I expect it to work with other versions of Windows and Matlab.  
  
Allen  
  
  
Yoav Arieh wrote:  
  

> \> Hi,  
> \>  
> \> Is it possible to SET the mouse coordinates to a pre determined place on  
> \> the screen with the SCREEN command using win98?  
> \>  
> \> Thank You.  
> \>  
> \> Yoav.  
> \>
