Maximite 2: How to make switch trigger only once when pressed


Author Message
Decoy
Senior Member

Joined: 02/08/2019
Location: Denmark
Posts: 109
Posted: 04:37pm 30 Nov 2020      

Thanks guys

A part of me is a little bit   about this. I used to do it with millis() on arduino ages ago, but the last many years I have become used to GML (Gamemaker Studio 2-code) which just has a function for this. It seems like something almost everybody will need to use, whether they only do software or also hardware.

If anybody has suggestions for the sleakest way to implement this, I would love to know.