• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Rts box select units

Warspite2

Member
I believe I seen a thread on this years ago, it may have been in the legacy forums because im not finding it here. I am working on a rts title and want to be able to select multiple units at once using a box select. Anyone have tips on how I can get this working?
 

Nidoking

Member
I expect you'd create a rectangular instance that resizes as you drag the cursor, then use instance_place_list to get the list of units that the rectangle touches when you release the button.
 
Top