Discuss Scratch
- Discussion Forums
- » Suggestions
- » New hat-block: When [sound] reaches [time code]
- scorckaggo_9
-
Scratcher
61 posts
New hat-block: When [sound] reaches [time code]
same, but also what abou
define ()t [i]drop-downs for my blocks?[/i]:D
- michaeljackson1365
-
Scratcher
1000+ posts
New hat-block: When [sound] reaches [time code]
this suggestion has a freaking workaround:
play sound [this item or fact is true concept of the gate THE VOLLEYDATE v]
broadcast (something v)
when I receive (something v)
wait (1.5) seconds
...
- kriblo
-
Scratcher
100+ posts
New hat-block: When [sound] reaches [time code]
this suggestion has a freaking workaroundThis workaround has been discussed. It has limitations, compared to the suggested new block. From OP:
An event should be triggered when the identified part of the sound is played. This should be the case regardless of lag or if the pitch effect is used.
- -Llama-Toons-
-
Scratcher
1 post
New hat-block: When [sound] reaches [time code]
YES I NEEEEEEED THIS BLOCK
- recordingold
-
Scratcher
15 posts
New hat-block: When [sound] reaches [time code]
I think that this needs to be added, it would be useful in animations and timing it would be awesome.
- brun7
-
Scratcher
95 posts
New hat-block: When [sound] reaches [time code]
Support. This would be awesome for musical cues. It would also be really useful to have this block in “wait until” form, if that would work.
- Truly-Blue
-
Scratcher
1 post
New hat-block: When [sound] reaches [time code]
Great idea, love it, this would come useful in alot of cases, especially in animation
- jarguetabonilla33
-
Scratcher
44 posts
New hat-block: When [sound] reaches [time code]
how do I make that block in a discussion forum?
- jarguetabonilla33
-
Scratcher
44 posts
New hat-block: When [sound] reaches [time code]
I suggest a new hat-block:when sound [Great Song v] reaches (1.02) :: sound :: hat
- -Catapult-
-
Scratcher
94 posts
New hat-block: When [sound] reaches [time code]
I feel like a project might be cluttered if it had so many hat blocks to trigger code at different parts of the song. How about a Boolean as well so that we can fit it inside “wait until…” blocks?
I support this because many games (Rhythm games, JSAB-style games etc.) need to sync the project to the music. If I needed to sync a project’s codes to the music, I would normally use lots of “wait” blocks to estimate when the code should execute. But, this is imperfect and time-consuming, so I like this suggestion more. It will let coders be faster and more precise in syncing code to music.
when sound [Great Song v] reaches (1.02) :: sound :: booleanOfc you can still make a workaround:
when sound [Great Song v] reaches (1.02) :: sound :: hatBut then again, it would still make the project real cluttered if there were so many hat blocks, and I think the Boolean is cleaner.
set [Counter v] to [1]
wait until <(Counter) = [1]>
I support this because many games (Rhythm games, JSAB-style games etc.) need to sync the project to the music. If I needed to sync a project’s codes to the music, I would normally use lots of “wait” blocks to estimate when the code should execute. But, this is imperfect and time-consuming, so I like this suggestion more. It will let coders be faster and more precise in syncing code to music.
- wert-dumby2
-
Scratcher
5 posts
New hat-block: When [sound] reaches [time code]
Hi dis is good 

reset timeras a new employee at scratch (maybe)
define(kriblo)
- AquaKelpie53
-
Scratcher
100+ posts
New hat-block: When [sound] reaches [time code]
I feel like a better block would be a reporter version, like:
There's definitely a workaround, but I don't think it would be able to account for lag, as the variable keeping count of the time is not directly connected to the sound (like having multiple “when flag clicked” blocks)
Edit: just saw a way better name on a previous page:
(seconds into [sound v]::sound)Then you could do the same stuff as all the other blocks suggested here but without adding separate blocks.
There's definitely a workaround, but I don't think it would be able to account for lag, as the variable keeping count of the time is not directly connected to the sound (like having multiple “when flag clicked” blocks)
Edit: just saw a way better name on a previous page:
([length v] of sound []::sound)
([current time v] of sound []::sound) //reports how long the sound has been going for (ex. if the sound has been playing for 1 minute, then it would report 60)
Last edited by AquaKelpie53 (Sept. 3, 2025 23:50:51)
- IloveRoblox003
-
Scratcher
1000+ posts
New hat-block: When [sound] reaches [time code]
I see this being used in a lot of situations, SUPPORT!
and maybe it could also branch off into other blocks like value blocks
and maybe it could also branch off into other blocks like value blocks
Last edited by IloveRoblox003 (Sept. 4, 2025 20:05:50)
- RedPandaAwesomeness
-
Scratcher
1 post
New hat-block: When [sound] reaches [time code]
I think that it would help for lots of Projects FULL SUPPORT!
- mtaka4
-
Scratcher
500+ posts
New hat-block: When [sound] reaches [time code]
-blocksnip-2 things. Don't blockspam, and don't put new suggestions here.
- jclouse327
-
Scratcher
9 posts
New hat-block: When [sound] reaches [time code]
are you talking to me?! 

- CodeComet6161
-
Scratcher
1000+ posts
New hat-block: When [sound] reaches [time code]
are you talking to me?!yes they are.
- Discussion Forums
- » Suggestions
-
» New hat-block: When [sound] reaches [time code]


















