which command is not in the animation scratch
Answers
The Not ()block is anOperators block and a Boolean block. The block checks if the boolean inside it is false — if it is false, the block returns true; if the condition is true, it returns false.
Example Uses
This block can be used to "reverse" booleans.
Some common uses for the Not () block:
Making sure a variable does not equal a certain value
lives=0thensayContinuefor1secselsestopall
Making sure a list does not contain a certain item
WorkaroundMain article: List of Block Workarounds
or
setresulttofalseelsesetresulttotrue
[Collapse]
v • d • e
Operators Blocks
() + () • () - () • () * () • () / () • Pick Random () to () • () < () • () = () • () > () • () and () • () or () • Not () • Join ()() • Letter () of () • Length of () • () Mod () • Round ()• () of ()More blocks...
Category: Operators Blocks
This page was last modified on 8 August 2018, at 07:02.Content is available under CC BY-SA 4.0 unless otherwise noted.
Making sure a key is not being pressed