When I use the co-blocks, the actions do not wait for the events, but seem to play automatically regardless of my coding efforts! For example, a cat should play a sound file when clicked. Instead, it plays a sound file as soon as the scene begins, regardless of whether it is clicked or not. Any help, for a newbie? Screenshot 2020-10-10 at 12.49.07|589x500
You need to put the Play block inside the “When Cat is clicked” event block. See Coding a Simple Click Interaction (video).
Hope that helps! Let me know if you have any further questions.
Geoff @ TechLeap
PS: Please mark this as the solution if it solves your problem.
I think the problem is that the first line of code is to play the sound, you should put something to delay it with, for example by clicking a button.