varible changed by (1) variblea changed by (-1) variblae changed by ( + variable changed by (-)This would be a booleen block meaning it would insert into 'if' blocks. It detects if a variable has been changed by a number or has gone up or down.
Offline
I don't get it.
Offline
trinary wrote:
Could you explain this in more detail?
How would it detect whether a variable has been changed, since once changed a variable holds that value and no other?
^This.
It's impossible, is the simple answer.
Offline
trinary wrote:
Could you explain this in more detail?
How would it detect whether a variable has been changed, since once changed a variable holds that value and no other?
It could check if it's changed since the last time it's checked.
Or there could be a "When _______ changes" hat block.
Last edited by zippynk (2012-03-23 23:13:29)
Offline
ScratchOS wrote:
varible changed by (1) variblea changed by (-1) variblae changed by ( + variable changed by (-)This would be a booleen block meaning it would insert into 'if' blocks. It detects if a variable has been changed by a number or has gone up or down.
There is a workaround if I understand correctly on what you want
You can go like this
when gf clicked set [variable v] to [insert number here] set [variable saver v] to <variable> //the one above wait until <you want to check> if <<variable saver>=<variable>> do scripts here else do scripts here endI think that's what you need, it wasn't really explained enough for what you want...
Offline
well there could be a block
<[variable v] changes in next () secs>
Offline
if <[variable v] changed?> //do something end
Last edited by PencilFactory (2012-03-25 09:45:58)
Offline