Rest for () Beats
rest for () beats
Category Music
Type Stack
Introduced in 05Dec07 (1.2.1)

The Rest for () Beats block is a music block and a stack block. The block pauses its script for the specified amount of beats, which can be a fraction. To change the length of beats, the Change Tempo by () block and the Set Tempo to () block can be used.

Note Note: Some musical knowledge may be needed to fully understand this article.

Example Uses

As the block will pause its script with beats instead of seconds, it is widely used in music scripts where there must be pauses that fit the beat.

Some example uses for the Rest for () Beats block:

play drum (\(6\) Closed Hi-Hat v) for (0.25) beats
rest for (0.2) beats
  • A music generator


Unlike sheet music, the block uses number values to determine the beats. This table shows the beat number values for the most common rests in the most common time signatures, interpreted in the most basic ways.

SemibreveRest.svg SVGMinimRest.svg SVGCrotchetRest.svg SVGQuaverRest.svg SVGSemiQuaverRest.svg
SVGTimeSig4-4.svg or SVGTimeSigCommonTime.svg 4 2 1 0.5 0.25
SVGTimeSig3-8.svg 8 4 2 1 0.5
SVGTimeSig2-2.svg or SVGTimeSigCutTime.svg 2 1 0.5 0.25 0.125


Main article: List of Block Workarounds

This block can be replicated with the following code:

wait (((60) / (tempo)) * (. . .::grey)) seconds

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.