Pages: 1
So I want to write a script that senses when a specific button is held down as opposed to pressed; however, I'm not sure this is possible in scratch currently, but if it is, please post a script that does this.
Offline
When flag clickedforever | if key space pressed |wait 0.5 secs ||if key space pressed ||do what you want it to do |-----> --------^
when key [space v] pressed set [down_time v] to (timer) wait until<not<key [space v] pressed?>> if<((timer)-(down_time)) > (some length of time)> broadcast [long press v] end