Rezious

Holding down key to loop, releasing to stop

4 posts in this topic

I've made myself a simple and small ''triggerbot'' to shoot when a certain color is on the screen, but i don't want it to be looping continuously. Is there any way to start the loop when im holding down a certain button and to make it stop when releasing it?

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

here is the code btw

-snip-

Edited by Jos

Share this post


Link to post
Share on other sites

Well it's indeed for a game, i didn't know this was against the rules. I'm sorry :P

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.