Help, tutorials and examples for Game Maker

Platformer Engine
click to visit
An Engine to help you start a 2D Platformer Game.

The Black Hole that Wants to Eat Me
click to visit
Stranded in space close to a black hole...
Infinite Stick War of Death V3
click to visit
The third remake of the epic, endless war God has started.

Paper Flight
click to visit
3D racing game with custom paper airplanes.
Home Search/Browse Comments Trollsplatterer You can help! Links
Terms&Conditions This website has been designed for Firefox Design by Trollsplatterer (©2018)

Select and move  download now

This example shows you how to select instances and move them to the mouse-position. You can select and deselect balls with the Left Mouse Button and the control-button and move a group with the Right Mouse Button.


General Rating
Your Rating*


By Comment
You can use the action "Move avoiding" for that purpose. More complex movement scripts are beyond this example, as most require a lot of scripting and I'd like to keep this example as simple as possible.
can you make this so it goesa around walls for the fastest route?
I'm glad to have been of help. If you need extra features, let me know.
Thank god for this. I've been searching the GM wiki forever and no one seems to be able to make a competant click and move for multiple objects. Thanks so much!

* : The rating makes use of your IP-address to remember your vote. IP addresses may change, but your vote will be kept, even though it may no longer be visible here.