Learn Create Your Own Split Screen

Next Page

The 'some condition' part corresponds to the diamond-shaped blocks in Scratch.

Javascript has the same ideas:

Plus, there's some extras

As always, don't worry about memorizing this stuff - you can look it up when you need it, or copy and paste samples.