mouse .window .set  (  PosX ,  PosY ,  Width ,  Height  )  
                                          
Description :

This instruction confines the mouse to a restricted area of the screen.

Parameters :

  • X component of the confinement area's top left pixel position.
  • Y component of the confinement area's top left pixel position.
  • Width of the confinement area, expressed in pixels.
  • Height of the confinement area, expressed in pixels.

Examples :