glitchdetector icon

[GML] mouse_within (compact)

glitchdetector | PRO | 08/30/14 02:27:49 PM UTC | 0 ⭐ | 715 👁️ | Never ⏰ | []
Game Maker |

0 B

|

None

|

0 👍

/

0 👎

///mouse_within( x1, y1, x2, y2 )
// returns true if the mouse is within the specified area
 
return ((mouse_x > argument0) && (mouse_x < argument2)) && ((mouse_y > argument1) && (mouse_y < argument3))

Comments