the block
<sensor [button pressed v]?>detects when the button is pressed.
if <sensor [button pressed v]?> set [oldtimer v] to (timer) wait until <not <sensor [button pressed v]?>> set [timepressed v] to <(timer) - (oldtimer)> if <(timepressed) > [however many number of seconds]> line else dot endYou may have to mix it in somehow but I'm sure you can get it to work that way.
Last edited by Smozzick (2013-04-18 12:15:08)
Offline