mouse events

  1. O

    GML [SOLVED] Emulate mouse event

    I have a parent object called piece, and two children, white and black. In the room, we just have the white and black pieces. When a player clicks on a piece, it should change its value and sprite. If I use the mouse event in the parent, with the following code, it works fine: value++...
  2. I

    Getting value from DS_GRID at mouse point

    I have spent a while trying to figure this out also have talked with people on the game maker discord and no solution. The issue I'm having is I can't return the x,y of the grid from the place I clicked with my mouse. I think you could do it with some complex math but I can't wrap my head around...
  3. T

    Game thinks mouse is still pressed when cursor outside window [SOLVED]

    Hey folks, In my game, the player has to keep the mouse pressed on an object and move it around the screen. If they stop pressing on it then the game is over. This works fine apart from the fact if the player drags the object to the edge of the screen, and keeps pulling the mouse away out the...
Top