GMS2 Tutorial – Mouse Detection – Using the mouse to trigger events – GameMaker Studio 2 Tutorials

How’s it going everyone, in this GameMaker Studio 2 tutorial video we go over how to use the mouse as a trigger for whatever code you want to run. We’ll be looking at the project I’m working on first to see how it operates and if this is something you would like to know how to do. Then we go over a few methods on how to make that happen. You can use lines of code right inside the step event to detect when and if you’re pressing the buttons or, you can use a special event tag that triggers a particular bit of code when the object is clicked with a mouse. This is a short tutorial on some basic functionality with some other tips and tricks about coding in GMS2 sprinkled in. Hopefully you find this tutorial helpful and or entertaining. Thanks for watching! 🙂

If you’ve enjoyed this video please consider giving it a Like, Favorite and share. You could always Subscribe to the channel if you haven’t already and as always, thanks for watching and we’ll see you in the next video! 🙂

DG Discord Server:





Special thanks to all my Patrons:
Damian Floyd, Meteodros, Morekong Moua, Battle Pisces Gaming, Rusty_Gears, Fun4theBrain, Matt, Karyn, Staphanie Lynner, David Phillips, Studio Blue, Joseph Nigro, Linky317, Nicholas Watson, Derek DiBenedetto, Jai R – Fisher, TheLoneWarrior, John Gibson, Scott Lynch, Scott Zarwell, Eduardo Santizo, ChrAndGow, KX Production, Noriko, R.A.M. Reed F. NeoSoulGamer, Michael Flynn, WarioLGP, Valryia, DarkKrow13, StalkerRoguen, ervin mcclure, Heath Osborn, Chris Van Essen, Mithrandir, Michael Noles, Ben English, and all of those who have supported me in the past. Thank you all very much.


Xem thêm bài viết khác: