Sketchware Docs (Unofficial)
  • Introduction (Under Construction)
  • Official Docs
  • Introduction to Sketchware
    • Adding your app
    • Designing and Programming your app
  • Widgets and Layouts
    • Concept
    • Properties
    • List of Widgets and Layouts
  • Events
  • Blocks
    • Variable
    • List
    • Control
    • Operator
    • Math
    • File
    • View
    • Component
    • More Block
  • Components
    • About Components
    • Intent
    • SharedPreference
    • Calendar
    • Vibrator
    • Timer
    • Dialog
  • Configuration
  • AdMob Guide
  • Community
Powered by GitBook
On this page

Was this helpful?

  1. Blocks

Control

PreviousListNextOperator

Last updated 3 years ago

Was this helpful?

Repeat:

Repeats the blocks inside for the specified number.

Forever:

Repeats the blocks inside forever

Stop:

If then:

If the specified value is true, the blocks inside will run.

If then/else:

If the specified value is true, the blocks in the top half will run. Else, the blocks in the bottom half will run.

Must be used with a block or the app will crash.

Stops a and block

Usually used with blocks from the tab.

Usually used with blocks from the tab.

stop
forever
repeat
Operator
Operator
Repeat
Forever
stop
if then
If then/else