+ 3

[Solved]How to make Rapid fire button?

Rapid fire (when holding the button it acts as automatically triggering multiple times) Very small part of my try😀 https://code.sololearn.com/WXMyem6D990e/?ref=app Actually I've spent minimum 2-3 hours for this (learned many things BTW) and tried different techniques but this time I am closer than ever. But I messed up something. This worked for timer but doesn't work here. 😌

22nd Feb 2019, 11:03 PM
Emoji FanBoy
Emoji FanBoy - avatar
2 ответов
22nd Feb 2019, 11:14 PM
Rowsej
Rowsej - avatar
+ 2
Wow thank you. Didn't know about clearInterval👍
22nd Feb 2019, 11:45 PM
Emoji FanBoy
Emoji FanBoy - avatar